解决nginx 出现 413 Request Entity Too Large的问题
2018-08-15 11:59
591 查看
php.ini 文件已经设置了附件大小和表单提交大小为128M
upload_max_filesize = 128M
post_max_size = 128M
然而nginx还是报 413 Request Entity Too Large 错怎么办
打开/etc/nginx/sites-available/xxx.com的配置文件,加入标红部分
server {
...
client_max_body_size 128m;
...
}
重启nginx即可
upload_max_filesize = 128M
post_max_size = 128M
然而nginx还是报 413 Request Entity Too Large 错怎么办
打开/etc/nginx/sites-available/xxx.com的配置文件,加入标红部分
server {
...
client_max_body_size 128m;
...
}
重启nginx即可
service nginx restart
相关文章推荐
- 解决 nginx 出现 413 Request Entity Too Large 的问题
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- nginx 出现413 Request Entity Too Large问题的解决方法
- Nginx出现“413 Request Entity Too Large”错误解决方法
- Nginx 出现413 Request Entity Too Large得解决方法
- Nginx出现“413 Request Entity Too Large”错误解决方法
- Nginx出现“ 413 (499 502 404) Request Entity Too Large”错误解决方法
- Nginx出现“413 Request Entity Too Large”错误解决方法
- nginx、Apache、IIS服务器解决 413 Request Entity Too Large问题方法汇总
- Nginx出现“413 Request Entity Too Large”错误解决方法