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;

猜你喜欢

转载自phl.iteye.com/blog/2000086