Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-18 Thread gaop...@richinfo.cn
谢谢你的回复: 我描述的有点问题,我的需求是不管前端有多少代理或者路由 在最后一层的nginx做代理时,能将同一个客户端的请求都代理到同一个web服务器上。Aleksandar Lazic 提供的方案正是我所需要的。 gaop...@richinfo.cn From: Shafreeck Sea Date: 2014-05-16 18:55 To: nginx@nginx.org Subject: Re: Re: nginx1.4.7 ip_hash load balancing strategy 必须用ip_hash ? 另外我也没太看明白你的问题。 2014-05

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-18 Thread gaop...@richinfo.cn
sorry, Aleksandar Lazic Provides solutions that is just what I need. gaop...@richinfo.cn From: Maxim Dounin 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, gaop...@richinfo.cn wrote: > hi > W

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-18 Thread gaop...@richinfo.cn
Thanks for your reply, Shafreeck Sea Provides solutions that is just what I need. gaop...@richinfo.cn From: Maxim Dounin 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, gaop...@richinfo.cn wrote

Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Maxim Dounin
Hello! On Fri, May 16, 2014 at 03:29:31PM +0800, gaop...@richinfo.cn 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

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Aleksandar Lazic
oad balancing algorithm upstream the instruction > ip_hash; > > - > > gaop...@richinfo.cn > > FROM: Shafreeck Sea > DATE: 2014-05-16 16:14 > TO: nginx@nginx.org > SUBJECT: Re: nginx1.4.7 ip_hash load balancing strategy > > wh

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Shafreeck Sea
4-05-16 16:14 > *To:* nginx@nginx.org > *Subject:* Re: nginx1.4.7 ip_hash load balancing strategy > why ip_hash ? > > > 2014-05-16 15:29 GMT+08:00 gaop...@richinfo.cn : > >> hi >> When my nginx is below this structure,Nginx access to the IP proxy >> serv

Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread gaop...@richinfo.cn
ngx_http_upstream_module Load balancing algorithm upstream the instruction ip_hash; gaop...@richinfo.cn From: Shafreeck Sea Date: 2014-05-16 16:14 To: nginx@nginx.org Subject: Re: nginx1.4.7 ip_hash load balancing strategy why ip_hash ? 2014-05-16 15:29 GMT+08:00 gaop...@richinfo.cn : hi

Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Shafreeck Sea
why ip_hash ? 2014-05-16 15:29 GMT+08:00 gaop...@richinfo.cn : > 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 th

nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread gaop...@richinfo.cn
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.