Session stickyness?
Adam Zell
zellster at gmail.com
Fri Nov 9 21:57:54 MSK 2007
Hello,
On Nov 9, 2007 4:14 AM, Denis Brækhus <denis at startsiden.no> wrote:
> Is there any way to achieve session stickyness via Nginx proxying?
>
> Using Apache ProxyPass directive one can write :
> ProxyPass / balancer://mycluster/ lbmethod=byrequests stickysession=BALANCEID
>
> and use a BALANCEID cookie from the backends to direct users to the right servers.
>
> Does Nginx (0.5x) have a similar mechanism?
>
The nginx mechanism I have seen is based on client IP address:
http://wiki.codemongers.com/NginxHttpUpstreamModule#ip_hash
HTH.
> Regards
> --
> Denis
>
>
--
Adam
zellster at gmail.com
More information about the nginx
mailing list