使用nginx代理后,上传文件报错:Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)

原因:nginx默认允许上传1M文件

修改nginx.conf配置:在反向代理内容增加client_max_body_size 100M;

Logo

一站式 AI 云服务平台

更多推荐