Nginx错误:[error] 106793#0: *46318 client intended to send too large body: 3738202 bytes

1、错误信息

2018/04/02 13:29:23 [error] 106793#0: *46318 client intended to send too large body: 3738202 bytes, 
client: 192.168.1.26, server: 192.168.1.233, 
request: "POST /ydzwV3/app/im/iosUploadFile HTTP/1.1", 
host: "192.168.1.233:8080"

这个请求是用来上传文件的。

2、解决

修改nginx.conf,在http下添加如下配置:

client_max_body_size 64M;

这样文件上传时,就可以传递更大的文件了。

参考

nginx client intended to send too large body( http://blog.sina.com.cn/s/blog_6f2274fb0100zf4f.html

猜你喜欢

转载自blog.csdn.net/u012383839/article/details/79788170