the server responded with a status of 504 (Gateway Time-out)

 

解决方法:

ngixn反向代理上传文件时间较长浏览器报错Failed to load resource: the server responded with a status of 504 (Gateway Time-out)

我针对某个接口设置了超时设置 proxy_send_timeout 600s;proxy_send_timeout 600s; proxy_read_timeout 600s;  三个属性,都设置为10分钟超时。

详情可以参考一下:http://www.yayihouse.com/yayishuwu/chapter/2859

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐