Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
来源:互联网 发布:淘宝分销一场大骗局 编辑:程序博客网 时间:2024/05/17 01:30
1、错误描述
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
2、错误原因
上传文件时,利用localhost访问系统,不会出现这个问题;用域名访问这个系统时,出现这个问题,提示是:请求实体太大
由于Nginx反向代理服务器client_max_body_size默认值为1MB,而上传文件大于1MB,所以就出现这个错误
3、解决办法
打开Nginx反向代理服务器nginx.conf配置文件,修改client_max_body_size值
client_max_body_size 30M 1 2
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- 上传文件失败 Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- ajax 报错 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))
- 关于前台jsp页面Failed to load resource: the server responded with a status of 400 (Bad Request)
- 微信小程序 wx.request 出现 Failed to load resource: the server responded with a status of 400
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- failed to load resource the server responded with a status of 500 (internal server error)
- SharePoint Debug - Failed to load resource: the server responded with a status of 500
- Failed to load resource: the server responded with a status of 406 (Not Acceptable)
- Failed to load resource: the server responded with a status of 404
- Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
- 从调用printf()到显示器上看到字符串
- AndroidStudio error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- SAP HANA SQL获取当前日期最后一天
- 获取app版本号
- 什么是项目管理?
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- linux更改时区
- 远程计算机或设备将不接受连接,IE无法上网
- mysql 使用游标聚合表数据
- java——容器、容器类
- Android 切换日间夜间模式
- (转载)机器学习--Logistic回归-我看你像谁
- SAP HANA SQL获取上周的周一
- 更改SAP系统超时断线所允许的最大时间