Nginx:修订间差异

来自汉语教学技术研究与应用
跳转到导航 跳转到搜索
(创建页面,内容为“nginx 出现413 Request Entity Too Large问题的解决方法 https://blog.csdn.net/fdipzone/article/details/45544497 打开nginx配置文件 nginx.conf, 路径…”)
 
无编辑摘要
 
第11行: 第11行:


  File > Edit template 可以快速打开各类配置文件
  File > Edit template 可以快速打开各类配置文件
[[Category:编程]]

2019年3月27日 (三) 00:21的最新版本

nginx 出现413 Request Entity Too Large问题的解决方法

https://blog.csdn.net/fdipzone/article/details/45544497

打开nginx配置文件 nginx.conf, 路径一般是:/etc/nginx/nginx.conf。
在http{}段中加入 client_max_body_size 20m; 20m为允许最大上传的大小。
保存后重启nginx,问题解决。

Mac下使用MAMP配置Nginx - 简书 https://www.jianshu.com/p/6d92b4e362b0

File > Edit template 可以快速打开各类配置文件