File uploads

Jim Ohlstein jim.ohlstein at
Tue Sep 30 02:45:57 MSD 2008

Solved that issue.

Many thanks for the quick response to my newbie question.


-----Original Message-----
From: owner-nginx at [mailto:owner-nginx at] On Behalf Of
Sent: Monday, September 29, 2008 5:57 PM
To: nginx at
Subject: Re: File uploads

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
> Too Large" error.

default: client_max_body_size 1m

More information about the nginx mailing list