Can't upload files > 10Mb

Cliff Wells cliff at develix.com
Thu May 15 21:32:56 MSD 2008


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.

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
>         
>         
> 
> 






More information about the nginx mailing list