you allow 600 seconds to pass until you npotice, that your upstream-server is not responsible. ... max_fails=2 fail_timeout=300s; why? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240513,240515#msg-240515