Balancing by IP rather than by request?

Hello.

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?

Thanks.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,5469,5469#msg-5469

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 S. < [email protected] >

awesome!
thanks

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,5515,5581#msg-5581

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs