split traffic

ender ulusoy enderulusoy at gmail.com
Wed May 22 13:36:58 UTC 2019


I've recompiled the nginx. That was the only way. Now it works fine.

Thanks guys.

22 May 2019 Çar 16:33 tarihinde Francis Daly <francis at daoine.org> şunu
yazdı:

> On Wed, May 22, 2019 at 03:47:05PM +0300, ender ulusoy wrote:
>
> Hi there,
>
> > Thanks but I got an error. I can not find the required module.
> >
> > root at Net:~# nginx -t
> > nginx: [emerg] unknown directive "split_clients" in
> /etc/nginx/nginx.conf:598
> > nginx: configuration file /etc/nginx/nginx.conf test failed
>
> http://nginx.org/r/split_clients says it is from
> ngx_http_split_clients_module
>
> > nginx version: nginx/1.14.1
> > built by gcc 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
> > built with LibreSSL 2.7.4
> > TLS SNI support enabled
> > configure arguments: --prefix=/etc/nginx
> ...
> > --without-http_split_clients_module
> ...
>
> which your nginx builder explicitly removed.
>
> It's probably simplest to build the nginx that you want, or to acquire
> a nginx that includes the things that you want.
>
> > Any other chance without split module?
>
> Probably not without doing more work than using the module that is
> designed to do the thing that you want to do.
>
>
> Note, though, that by using an external redirect in 10% of requests to
> one server_name, you will possibly end up much more than 10% of users
> on the other server_name, because a user on that one will possibly stay
> on that one. That may not matter in this case.
>
> Good luck with it,
>
>         f
> --
> Francis Daly        francis at daoine.org
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20190522/34381a3f/attachment.html>


More information about the nginx mailing list