查看错误日志
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配置
网友评论