Disable error page for one location?
Nicholas Sherlock
n.sherlock at gmail.com
Sun Mar 4 11:01:19 UTC 2012
On 4/03/2012 6:35 p.m., Francis Daly wrote:
> "error_page" determines which response codes are *not* passed through as-is.
>
> And directive values between levels are generally inherited or replaced,
> but not added.
>
> So, in the location you care about, repeating your server-level error_page
> directives without the 404 one, should Just Work.
That works, thanks!
Cheers,
Nicholas Sherlock
More information about the nginx
mailing list