Nginx出现“413 Request Entity Too Large”错误解决方法
四月 21, 2010 by admin · Leave a Comment
解决方法:打开nginx主配置文件nginx.conf,找到http{}段,添加
[sourcecode language="php"]client_max_body_size 20m;
Centos下 vi /usr/local/nginx/conf/nginx.conf[/sourcecode]
重启NGINX
[sourcecode language="php"]kill -HUP `cat /usr/local/nginx/nginx.pid `[/sourcecode]
恢复正常