Reverse Proxy - Both Servers Returned in Logs?

mevans336 nginx-forum at forum.nginx.org
Wed Nov 30 18:07:08 UTC 2016


We've noticed that if we flip the order of the backend servers, the server
the user is directed to flips.

upstream prodtemp { 
ip_hash; 
server 10.0.0.107:8080 max_fails=1 fail_timeout=5s; 
server 10.0.0.106:8080 max_fails=1 fail_timeout=5s; 
keepalive 50; 
}

That results in the user being sent to server2.

This is Nginx 1.10.2 FYI.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271247,271249#msg-271249



More information about the nginx mailing list