File uploads

Roxis roxis at list.ru
Tue Sep 30 01:57:10 MSD 2008


On Monday 29 September 2008, Jim Ohlstein wrote:
> I run a vBulletin site on a small VPS that I recently switched to Nginx
> from Apache. I recompiled php with fpm and have everything working fairly
> well but we're experiencing one fairly major problem. It's a World War II
> site and we have lots of file uploads, both as file attachments to posts
> and in an integrated gallery app (PhotoPost). Some are fairly large so I
> have uploads enabled in php.ini with a upload_max_filesize = 12M but Nginx
> rejects file uploads that are over about 1000K. I get a "413 Request Entity
> Too Large" error.

http://wiki.codemongers.com/NginxHttpCoreModule#client_max_body_size

default: client_max_body_size 1m





More information about the nginx mailing list