413 请求实体太大Web 服务器连接已关闭 |错误64
我目前正在 Apache + nginx 上托管一个 django 项目。当我尝试上传大文件时,收到 413 请求实体太大错误消息。
我也有一个 django-cms 项目,当我尝试上传超过 5meg 的文件时,我收到错误代码 64,Web 服务器连接已关闭。
提前致谢,
I'm currently hosting a django project on Apache + nginx. When I try to upload a large file I get a 413 request entity too large error message.
I also have a django-cms project and when I tried to upload a file which is anything over 5meg I get an error code 64, The web server connection was closed.
Thanks in advance,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的错误消息表明它来自 nginx 配置。
您需要增加
nginx.conf
服务器配置上的client_max_body_size
。例如:Your error message tells it comes from nginx configuration.
You need to increase
client_max_body_size
on yournginx.conf
server config. eg :