Forum: NGINX 413 Request Entity Too Large when uploading 1-2MB...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
15fc40290c76b33850cc13438566b072?d=identicon&s=25 Robert Gabriel (jinx)
on 2008-11-06 19:45
Hello, Im using SquirrelMail, with nginx 0.6.32 and php-fpm. Im trying
to send a mail with an attachement of 1 or 2 MB through SquirrelMail and
nginx gives me 413 error:

413 Request Entity Too Large

In php.ini there is set upload size to 2MB so that should be a problem,
but what can I set in nginx for this to work?
B06eeb3c664683b78f1bd62a80cd8ca4?d=identicon&s=25 Roxis (Guest)
on 2008-11-06 19:54
(Received via mailing list)
On Thursday 06 November 2008, Robert Gabriel wrote:
> Hello, Im using SquirrelMail, with nginx 0.6.32 and php-fpm. Im trying
> to send a mail with an attachement of 1 or 2 MB through SquirrelMail and
> nginx gives me 413 error:
>
> 413 Request Entity Too Large
>
> In php.ini there is set upload size to 2MB so that should be a problem,
> but what can I set in nginx for this to work?

http://wiki.codemongers.com/NginxHttpCoreModule#cl...
15fc40290c76b33850cc13438566b072?d=identicon&s=25 Robert Gabriel (jinx)
on 2008-11-06 21:31
Thx, that was the issue :)
This topic is locked and can not be replied to.