Nginx 代理设置连接超时解决504 gateway time
2020-09-16 本文已影响0人
Sdoopy
参考资料https://blog.csdn.net/feinifi/article/details/88117869
简单来说,加上proxy_read_timeout 就能搞定
location ~ /struts2hack {
proxy_pass http://127.0.0.1:8080;
proxy_read_timeout 3600;
}