# Error\_page 413 in nginx 1.1.14

**URL:** <https://www.ruby-forum.com/t/error-page-413-in-nginx-1-1-14/216303>\
**Category:** NGINX\
**Created:** [February 1, 2012, 6:17am UTC](https://www.ruby-forum.com/t/error-page-413-in-nginx-1-1-14/216303 "2012-02-01T06:17:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 1, 2012, 6:17am UTC](https://www.ruby-forum.com/t/error-page-413-in-nginx-1-1-14/216303/1 "2012-02-01T06:17:41Z")

</div>

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.
