Re: problem with argument route in upstream

2014-11-19 Thread RODRIGUEZ Daniel
Thanks I am going to have a look on this module Envoyé de mon iPhone > Le 19 nov. 2014 à 09:44, mex a écrit : > > Hi, > > you can use the nginx-sticky-module if you need sticky sessions > https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng > > it just has no way to extract the routing

Re: problem with argument route in upstream

2014-11-19 Thread mex
Hi, you can use the nginx-sticky-module if you need sticky sessions https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng it just has no way to extract the routing-info from tomcat-routes (yet, we're working on it) and comes with an own cookie, but is production-ready cheers, mex Post

Re: problem with argument route in upstream

2014-11-18 Thread RODRIGUEZ Daniel
Tanks for your reply It means there is only the ip_hash solution on the free version? Envoyé de mon iPhone > Le 18 nov. 2014 à 22:32, Homutov Vladimir a écrit : > >> On 19.11.2014 00:25, RODRIGUEZ Daniel wrote: >> Hi, >> >> I was looking for hours what is the problem with my conf. >> >> I am

Re: problem with argument route in upstream

2014-11-18 Thread Francis Daly
On Tue, Nov 18, 2014 at 10:25:50PM +0100, RODRIGUEZ Daniel wrote: Hi there, > upstream antares { >server x:8000 route=server1; >server :8000 route=server2; >sticky route $route_cookie $route_uri; > } > With this I get on the error.log : > 2014/11/18 19:56:40 [emerg] 9520#0: i

Re: problem with argument route in upstream

2014-11-18 Thread Homutov Vladimir
On 19.11.2014 00:25, RODRIGUEZ Daniel wrote: Hi, I was looking for hours what is the problem with my conf. I am trying to implement a nginx reverse loadbalancer with tomcat application servers. I chose the route method here is the conf : map $cookie_jsessionid $route_cookie { ~.+\.(?P\w

problem with argument route in upstream

2014-11-18 Thread RODRIGUEZ Daniel
Hi, I was looking for hours what is the problem with my conf. I am trying to implement a nginx reverse loadbalancer with tomcat application servers. I chose the route method here is the conf : map $cookie_jsessionid $route_cookie { ~.+\.(?P\w+)$ $route; } map $request_uri $route_uri {