美文网首页
nginx文件上传太大错误,client intended to

nginx文件上传太大错误,client intended to

作者: dbasy | 来源:发表于2021-07-21 15:27 被阅读0次

查看错误日志

2021/07/21 15:00:30 [error] 13161#0: *3730 client intended to send too large body: 2218793 bytes, client: 127.0.0.1, server: localhost, request: "POST /plat/pss//upload HTTP/1.1", host: "scm.mynatapp.cc", referrer: "http://scm.mynatapp.cc/plat/h5/pages/complaint/complaint"

在http模块增加配置
client_max_body_size 20m;
重置nginx配置

相关文章

网友评论

      本文标题:nginx文件上传太大错误,client intended to

      本文链接:https://www.haomeiwen.com/subject/vwyjmltx.html