ip_hash load balancer incompatible with IPv6 compat. sockets
nginx-forum at nginx.us
Tue Jan 31 12:46:46 UTC 2012
I'm using nginx to distribute the load over 3 webservers using the
When the listening socket is IPv4/IPv6 compatible ( listen [::]:443; )
only one of the backend servers are used.
With the socket in IPv4 only mode ( listen 0.0.0.0:443; ) the module
correctly distributes the load.
It seems the hash isn't taking in account the size of the addresses and
because the first 32bits of the struct in this mode doesn't seem to vary
much the load balacing isn't working.
Keep up with the good work with this excelent proxy!
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221827,221827#msg-221827
More information about the nginx