Nginx session-stickiness

David Pratt fairwinds at
Fri Apr 4 20:25:43 MSD 2008

I'd be interested in an answer to this as well. Many thanks.


Pavel Georgiev wrote:
> Hi,
> Is there any way to achieve session stickiness via Nginx proxying?
> I`ve read about ip_hash but this is not going to work if one of the backend 
> servers fails, right? Clients that should go to it wil lnot be served unless 
> I mark the server as down. If this is what nginx does, then it is not much os 
> a solution.
> Also is there any other way for keeping sessions like cookie 
> tracking/insertion? 

More information about the nginx mailing list