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
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx