喜旎果 发表于 2016-12-26 07:07:41

nginx系列(四)限制post上传文件体积

nginx server节点
client_max_body_size 500m;

web服务器提示Request Entity Too Large” (413),client_max_body_size,默认1m

另外,其他几个参数也要注意:
nginx.conf
#keepalive_timeout 60;
#send_timeout 3m;
client_max_body_size 500m;
页: [1]
查看完整版本: nginx系列(四)限制post上传文件体积