client_max_body_size not working?
Cliff Wells
cliff at develix.com
Wed Jun 2 02:44:08 MSD 2010
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
More information about the nginx
mailing list