413 Request Entity Too Large when uploading 1-2MB


#1

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?


#2

On Thursday 06 November 2008, Robert G. 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#client_max_body_size


#3

Thx, that was the issue :slight_smile: