nginx1.4.7 ip_hash load balancing strategy

gaoping at gaoping at
Fri May 16 08:17:05 UTC 2014

ngx_http_upstream_module Load balancing algorithm upstream the instruction ip_hash;

gaoping at
From: Shafreeck Sea
Date: 2014-05-16 16:14
To: nginx at
Subject: Re: nginx1.4.7 ip_hash load balancing strategy
why ip_hash ?

2014-05-16 15:29 GMT+08:00 gaoping at <gaoping at>:
     When my nginx is below this structure,Nginx access to the IP proxy server by IP, then nginx ip_hash load balancing, will all requests are routed to the same tomcat, do not know if you have what good method to solve the.
    The ip_hash function can be introduced into a custom IP.      
     Prerequisite: can not change the existing structure, and nginx access to the IP is only aproxy server, and IP client request is not true,

gaoping at

nginx mailing list
nginx at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx??(05-16-16-15-19).png
Type: image/png
Size: 12535 bytes
Desc: not available
URL: <>

More information about the nginx mailing list