balancing by IP rather than by request?

Piotr Sikora piotr.sikora at frickle.com
Thu Sep 3 05:58:13 MSD 2009


> Looking a way to bind IPs to specific upstream.
> Like load balancing to work for new IPs only.
> Like known clients sent to upstream used at their first connection.
> 
> Any ideas?

You should check ip_hash directive:
http://wiki.nginx.org/NginxHttpUpstreamModule#ip_hash

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >






More information about the nginx mailing list