Welcome! Log In Create A New Profile

Advanced

Re: Can't upload files > 10Mb

Mi Mi
July 06, 2009 11:23AM
Igor Sysoev wrote:
> 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.

I have the same problem and I don't have any explicit "max" setting in
any configuration file. I'm not sure what you mean by "backend" -- but I
cast "http".

[root@myhost /usr/local/etc/nginx]# grep -ri max .
[root@myhost /usr/local/etc/nginx]# grep -ri upload .
[root@myhost /usr/local/etc/nginx]#

Although I read here
https://cloud-support.engineyard.com/discussions/problems/228-nginxpassenger-issue-file-uploads-not-working-client-intended-to-send-too-large-body
that "upload_max_file_size 50m; client_max_body_size 50m;" fix the
problem, my nginx 0.7.61 refuses to accept the former in http { }.

Also, I read from
http://wiki.nginx.org/NginxHttpCoreModule#client_max_body_size that the
default size is 1m. Is it reasonable to specify a maximum by default,
especially *this* strict?

For giving some context: I stumbled into the problem when people were
reporting that the majority, but not all ("indeterministically", as they
said) of the Document Uploads in an OpenGoo installation did not work.
--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

Re: Can't upload files > 10Mb

Mi Mi July 06, 2009 11:23AM

Re: Can't upload files > 10Mb

Cliff Wells July 06, 2009 01:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready