在 server{} 或者 http{} 中配置下面的参数
client_max_body_size 100M;
使用 nginx -s reload 重启配置即可
nginx -s reload
微信扫一扫
评论区