谢谢你的回复:
我描述的有点问题,我的需求是不管前端有多少代理或者路由
在最后一层的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
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
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
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
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
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
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
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
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.