Seems this does work .. removing the consistent from the hash ensures it balances better. I put nginx into debug and the output showed it working.by sampipe - How to...
Hi, Lets say I have 1 x nginx front end servers which load balances to 2 x app server and requires session persistence. I can set up an upstream group like this. upstream backend { hash $request_uri consistent; server backend1; server backend2; } If the requests always have a HTTP header called say "x-user-name", I was hoping that I could do this: hasby sampipe - How to...