nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Fri, May 16, 2014 at 03:29:31PM +0800, [email protected] wrote:
hi
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,
As long as upstream{} blocks on both frontends are identical, and
client IP stays the same, the same upstream server will be
selected by ip_hash.
–
Maxim D.
http://nginx.org/
Maybe you could use the sticky function
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky
“This directive is available as part of our commercial subscription” [2]
cheers Aleks
Am 16-05-2014 10:17, schrieb [email protected]:
nginx mailing list
[email protected]
nginx Info Page [1]
nginx mailing list
[email protected]
nginx Info Page [1]
Links:
Thanks for your reply, Shafreeck Sea Provides solutions that is just
what I need.
From: Maxim D.
Date: 2014-05-16 19:22
To: nginx
Subject: Re: nginx1.4.7 ip_hash load balancing strategy
Hello!
On Fri, May 16, 2014 at 03:29:31PM +0800, [email protected] wrote:
hi
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,
As long as upstream{} blocks on both frontends are identical, and
client IP stays the same, the same upstream server will be
selected by ip_hash.
–
Maxim D.
http://nginx.org/
sorry, Aleksandar L. Provides solutions that is just what I need.
From: Maxim D.
Date: 2014-05-16 19:22
To: nginx
Subject: Re: nginx1.4.7 ip_hash load balancing strategy
Hello!
On Fri, May 16, 2014 at 03:29:31PM +0800, [email protected] wrote:
hi
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,
As long as upstream{} blocks on both frontends are identical, and
client IP stays the same, the same upstream server will be
selected by ip_hash.
–
Maxim D.
http://nginx.org/