美文网首页
Nginx 代理设置连接超时解决504 gateway time

Nginx 代理设置连接超时解决504 gateway time

作者: Sdoopy | 来源:发表于2020-09-16 14:59 被阅读0次

    参考资料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;
    }
    

    相关文章

      网友评论

          本文标题:Nginx 代理设置连接超时解决504 gateway time

          本文链接:https://www.haomeiwen.com/subject/tfthyktx.html