0x00

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

0x01

在 nginx.conf 的 http 块里面加上

client_max_body_size 8M;
client_body_buffer_size 128k;