My nginx.conf: http { upstream test { server 127.0.0.1:8081 max_fails=0; server 127.0.0.1:8082 max_fails=0; } server { listen 8080; location / { proxy_pass http://test; } proxy_next_upstream http_503; proxy_intercept_errors on; } log_format main '$upstream_status'; ... } If my upstream servers are on and always reply with 50by Anton Ivanov - Nginx Mailing List - English