error_page 413 in nginx 1.1.14

Charles peacech at gmail.com
Wed Feb 1 05:17:13 UTC 2012


Hi,

I was using nginx 1.1.14, and I have an error_page configuration like this

client_body_max_size 10m;
error_page 413 /error/http/413;

When I POST-ed a 15mb file to /error/test, what happened is that
/error/test is being displayed again with $_SERVER['REQUEST_METHOD']
is 'GET' (I was using PHP) but
the browser still see the request as POST. I have checked that
/error/http was never called. Is this a bug or an error in the
configuration?

Thanks in advance.



More information about the nginx mailing list