Switching backends based on a cookie

Marcus Clyne ngx.eugaia at gmail.com
Sat Jan 30 02:01:40 MSK 2010


Laurence Rowe wrote:
> I would take a look at HAProxy which has better support for this use
> case, allowing for requests to be retried against another server if
> their associated backend is down.
>   
I would agree that if you're just wanting to do proxying, then HAProxy 
is probably a better way to go, however the above is also possible in 
Nginx using upstreams.

Marcus.



More information about the nginx mailing list