nginx修改上传文件大小限制

问题:

项目上线,图片上传报413错误,找了半天,原来是nginx限制了上传大小

在nginx.conf的server的location中加client_max_body_size 10m;

posted @ 2018-12-06 14:29  guuyoog  Views(301)  Comments(0Edit  收藏  举报