proxy_pass check if 404, and return 404

Jonathan Matthews contact at jpluscplusm.com
Wed Jan 8 00:10:16 UTC 2014


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.

HTH,
J



More information about the nginx mailing list