nginx 出现上传文件限制

0x00

nginx 默认上传文件限制是 1M,如何解决?

0x01

nginx.confhttp 块里面加上

1
2
client_max_body_size 8M;
client_body_buffer_size 128k;
Author: ronething
Link: https://blog.ronething.cn/20181122-nginx-limit.html
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.