0
点赞
收藏
分享

微信扫一扫

nginx 上传限制 client_max_body_size

眼君 2023-06-10 阅读 41

nginx报错:413 Request Entity Too Large

如下:

进入 nginx/conf 编辑 nginx.conf 配置文件:其中调整 client_max_body_size 大小
http {
    include       mime.types;
    default_type  application/octet-stream;
    client_max_body_size 50m

end;



举报

相关推荐

Nginx 配置上传文件大小限制

0 条评论