Failed to load resource the server responded with a status
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.****.net/jiangjunshow
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分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.****.net/jiangjunshow