当前位置:首页 > 服务器技术 > nginx

Nginx报错信息-POST


Nginx日志报错信息:

tail /var/log/nginx/access.log

2018/06/07 16:43:13 [error] 28702#0: *63078 client intended to send too large body: 1537420 bytes, client: 128.122.42.108, server: www.georgekai.com, request: "POST /cost/DocumentLibrary/TMMoreFileOtherHandler.ashx?type=rau HTTP/1.1", host: "www.georgekai.com"


原因:客户端通过POST方式上传较大的主体文件 (1537420 bytes)


解决:在http区块下添加一行    “client_max_body_size 30m;”

          用来限制客户端上传主体文件的大小


原文:http://blog.51cto.com/13055758/2126055


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!