proxy_next_upstream http_404?

mevans336 nginx-forum at
Wed Jul 27 00:07:18 UTC 2016

We have a backend server throwing a 404 error, so I added the directive
proxy_next_upstream error timeout http_404; but that seems to have no
effect. Nginx is still performing round robin connections to the working
backend server and the backend server throwing a 404. Is there another
directive I need for this to work properly?

Posted at Nginx Forum:,268529,268529#msg-268529

More information about the nginx mailing list