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.