Nginx Error: 413 Request Entity Too Large

作者:reistlin 发布时间:April 16, 2011 分类:自由点击

nginx

问题:

nginx error – 413 Request Entity Too Large

解决:

1,在 nginx.conf 配置文件中:client_max_body_size 8M;

vim /etc/nginx/sites-available/reistlin.com
 
server {
 
client_max_body_size 8M;
 
}

2,重新启动 nginx 服务

/etc/init.d/nginx reload

标签: linux, nginx

评论已关闭