Custom 413 error pages when client_max_body_size exceeded

Sergey A. Osokin osa at freebsd.org.ru
Thu Oct 20 18:43:43 UTC 2022


On Thu, Oct 20, 2022 at 02:01:44PM -0400, Dan G. Switzer, II wrote:
> Thanks for taking the time to respond. That's not working for me. I 
> tried the following:

[...]

> The 404 works fine, but sending more than 10k to the request still 
> returns the default nginx page.

[...]

> Is there a good way I can debug/troubleshoot why it might not be working?

Sure, it's possible to enable a debugging log, [1].

> It really seems like it might be a bug with the version of nginx that 
> CentOS 7 is installing.

How's the nginx has been built and deployed there?
Is there a chance to try to use recent packages from [2] to reproduce
the issue?

Thank you.

References
1. https://nginx.org/en/docs/debugging_log.html
2. https://nginx.org/en/linux_packages.html

-- 
Sergey A. Osokin



More information about the nginx mailing list