Maxim Dounin Wrote: > > I'm suspecting that the upstream hash module "takes over" the > upstream > > handling, and thus ignores the 'keepalive' keyword, but I'm randomly > > guessing. > > Quoting http://nginx.org/r/keepalive: > > : When using load balancer methods other than the default > : round-robin, it is necessary to activate them befoby beaufour - Nginx Mailing List - English
I also just tried the ip_hash module and it also disables the keepalive functionality :(by beaufour - Nginx Mailing List - English
I've been trying to get this setup working: client <- c0 -> nginx1 <- c1 -> nginx2 <- c2 -> service (http) where the c1 connection is kept alive between request from from the outside, but c0 and c2 are closed after each request. I've used the 'keepalive' keyword in the upstream nginx1 config, and it works. Unfortunately I also use the upstream hash patch on nginx1, and as sooby beaufour - Nginx Mailing List - English