Error_page 413 in nginx 1.1.14

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs