All files from this thread

File Name File Size   Posted by Date  
12.2 KB open | download gaoping@richinfo.cn 05/16/2014 Read message
nginx结构.png 12.2 KB open | download renenglish 05/16/2014 Read message
12.2 KB open | download gaoping@richinfo.cn 05/16/2014 Read message
nginx结构(05-16-16-15-19).png 12.2 KB open | download renenglish 05/16/2014 Read message
12.2 KB open | download Aleksandar Lazic 05/16/2014 Read message
12.2 KB open | download gaoping@richinfo.cn 05/18/2014 Read message
Maxim Dounin
May 16, 2014 07:24AM
Hello!

On Fri, May 16, 2014 at 03:29:31PM +0800, gaoping@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 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 Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx1.4.7 ip_hash load balancing strategy Attachments

gaoping@richinfo.cn May 16, 2014 03:30AM

Re: nginx1.4.7 ip_hash load balancing strategy Attachments

renenglish May 16, 2014 04:16AM

Re: Re: nginx1.4.7 ip_hash load balancing strategy Attachments

gaoping@richinfo.cn May 16, 2014 04:18AM

Re: Re: nginx1.4.7 ip_hash load balancing strategy Attachments

renenglish May 16, 2014 06:58AM

Re: Re: nginx1.4.7 ip_hash load balancing strategy Attachments

gaoping@richinfo.cn May 18, 2014 08:48PM

Re: Re: nginx1.4.7 ip_hash load balancing strategy Attachments

Aleksandar Lazic May 16, 2014 07:10AM

Re: nginx1.4.7 ip_hash load balancing strategy

Maxim Dounin May 16, 2014 07:24AM

Re: Re: nginx1.4.7 ip_hash load balancing strategy

gaoping@richinfo.cn May 18, 2014 08:44PM

Re: Re: nginx1.4.7 ip_hash load balancing strategy

gaoping@richinfo.cn May 18, 2014 08:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready