client_max_body_size not working?

Cliff Wells cliff at develix.com
Wed Jun 2 02:56:40 MSD 2010


Please ignore this.   I just noticed the date on the log message.   The
error is clearly elsewhere.

Cliff

On Tue, 2010-06-01 at 15:44 -0700, Cliff Wells wrote:
> I have:
> 
>   client_max_body_size 10m;
> 
> in server section of nginx.conf (also tried in http section),
> 
> but I receive:
> 
> 2010/05/09 20:55:18 [error] 3361#0: *6975 client intended to send too
> large body: 1806129 bytes, client: xx.xx.xx.xx, server: www.xxx.com,
> request: "POST /administrator/index.php HTTP/1.1", host: "xx.xx.xx.xx",
> referrer:
> "http://xx.xx.xx.xx/administrator/index.php?option=com_installer"
> 
> 
> Any suggestions?
> 
> 
> # nginx -V
> nginx version: nginx/0.8.33
> TLS SNI support disabled
> configure arguments: --conf-path=/etc/nginx/nginx.conf
> --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid
> --lock-path=/var/lock/nginx.lock
> --http-log-path=/var/log/nginx/access.log
> --http-client-body-temp-path=/var/lib/nginx/body
> --http-proxy-temp-path=/var/lib/nginx/proxy
> --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug
> --with-http_stub_status_module --with-http_flv_module
> --with-http_ssl_module --with-http_dav_module
> --with-http_gzip_static_module --with-mail --with-mail_ssl_module
> --with-ipv6 --with-http_realip_module --with-http_geoip_module
> --with-http_xslt_module --with-http_image_filter_module
> --with-sha1=/usr/include/openssl --with-md5=/usr/include/openssl
> --add-module=/build/buildd/nginx-0.8.33/modules/nginx-upstream-fair
> 
> Regards,
> Cliff
> 
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

-- 




More information about the nginx mailing list