浏览器未接收到响应结果,F12查看结果,显示如下错误信息:
Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
解决方案:
打开nginx.conf配置文件,修改uwsgi_read_timeout对应的值(单位为秒),解决504超时问题
如果没有uwsgi_read_timeout则手动添加到location /{}里面
uwsgi_read_timeout 300;
重启nginx生效。
转载请注明:王杭州的个人网页 » Failed to load resource: the server responded with a status of 504 (Gateway Time-out) [zz]