Can't upload files > 10Mb

Igor Sysoev is at rambler-co.ru
Thu May 15 21:39:19 MSD 2008


On Thu, May 15, 2008 at 10:32:56AM -0700, Cliff Wells wrote:

> 
> On Thu, 2008-05-15 at 13:01 -0400, Tieg Zaharia wrote:
> > Hey Cliff-- I had the same problem a few weeks ago and then realized
> > that the "client_max_body_size" parameter wasn't in the right place.
> > Do you have it under a location block?
> 
> It's in the "http" section.  I'll try adding it to the specific location
> block.

Is this error still in error_log ?
What is your backend ? It may its own limit.

> Cliff
> 
> > 
> > -tieg
> > 
> > On Thu, May 15, 2008 at 12:35 PM, Cliff Wells <cliff at develix.com>
> > wrote:
> >         I've got an app that I upload CSV files to.  So far it's
> >         worked
> >         flawlessly until yesterday.  The CSV files have gotten
> >         progressively
> >         larger and yesterday they broke 10Mb.  At this point Nginx
> >         logs an error
> >         that says:
> >         
> >         [error] 6610#0: *67 client intended to send too large body:
> >         11226223
> >         bytes
> >         
> >         I've got this in my nginx.conf:
> >         
> >         client_max_body_size    150m;
> >         
> >         What other parameters might affect this?
> >         
> >         I tested with 0.6.29 and 0.6.31.
> >         
> >         Cliff
> >         
> >         
> > 
> > 
> 

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list