Nginx 413 Request Entity Too Large

Nginx 413 Request Entity Too Large
返回Nginx 413 Request Entity Too Large常用代码示例代码片段

原因:上传的文件超过2m了

  1. > vim /etc/nginx/nginx.conf
  2. http{}里面添加
  3. > client_max_body_size 20m;
原文链接:https://rumenz.com/examples/Nginx/nginx-413-request-entity-too-large.html
↑回到顶部↑
入门小站 @2018