4 ms·
Is the ip_hash directive not good enough for what your looking for?
by Negitivefrags 14y ago
Is the ip_hash directive not good enough for what your looking for?
- zerop 14y agoI was not aware of ip_hash. But as per documentation it uses first 3 octets as hashing key, this may not work for me.I want to use nginx on LAN. It will throw all clients to same backend server. http://nginx.org/en/docs/http/ngx_http_upstream_module.html#ip_hash http://nginx.org/en/docs/http/ngx_http_upstream_module.html#...
- Negitivefrags 14y agoIt should be fairly trivial to patch your copy of nginx to use the entire IP address as the hashing key.