资料来源:网络整理
时间:2023/2/14 1:11:07 共计:3653 浏览
错误信息
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
使用 Nginx 服务器上传文件时,浏览器报 413 请求过大
解决办法
设置 Nginx 参数
找到配置文件 nginx.conf (如没有额外配置其他 conf ),在 http{} 或 server{} 或 location{} 节点下添加 client_max_body_size
client_max_body_size 10m; #(改成你想要的数值)

版权说明:
本网站凡注明“广州京杭 原创”的皆为本站原创文章,如需转载请注明出处!
本网转载皆注明出处,遵循行业规范,如发现作品内容版权或其它问题的,请与我们联系处理!
欢迎扫描右侧微信二维码与我们联系。