Override error code returned by proxy_pass

Rt Ibmer rtibmx at yahoo.com
Tue May 20 06:16:12 MSD 2008

I am using nginx as a load balancer. It passes requests to upstream servers using proxy_pass.

In the event that one of the upstream servers returns a 404 with an error page, I would like to detect that situation and throw it out, and return my own 404 error as directed by the nginx error_page directive.  Is this possible? And if so, how? Thanks!


More information about the nginx mailing list