proxy_pass check if 404, and return 404

Valentin V. Bartenev vbart at nginx.com
Wed Jan 8 04:21:15 UTC 2014


On Wednesday 08 January 2014 00:10:16 Jonathan Matthews wrote:
> On 7 January 2014 23:57, Jonathan Matthews <contact at jpluscplusm.com> wrote:
> > The *only* context I can see this being even slightly useful is where
> > you are concerned about the unacceptably large size of the upstream
> > server's 404 page.
> > 
> > If this isn't your problem, I don't understand what you're trying to
> > solve.
> 
> Either way, I should have said, look at the error_page directive.

..and "proxy_intercept_errors".

http://nginx.org/r/proxy_intercept_errors

 wbr, Valentin V. Bartenev



More information about the nginx mailing list