sher 发表于 2018-11-9 13:36:31

nginx: client intended to send too large body-J2EE

  nginx 上传文件失败,查看日志文件显示: 10756#0: *939 client intended to send too large body: 1949984 bytes。

[*]  nginx 配置修改:


[*]  打开/etc/nginx/nginx.conf
[*]  在http{}里添加参数client_max_body_size 64M;
[*]  keepalive_timeout的值根据情况修改。调整超时时间。

页: [1]
查看完整版本: nginx: client intended to send too large body-J2EE