【发布时间】:2020-04-14 11:41:53
【问题描述】:
在使用 node/express 应用程序配置 haproxy 时,我面临以下情况。我在尝试着 实现追随。
(https) (http)
浏览器 ======> haproxy =====> 节点应用程序
通过浏览器加载节点应用程序时,我收到 http 504 网关超时错误。
以下是我的 haproxy 配置。 haproxy configurations
以下是 haproxy 日志。
vm-2 haproxy[21255]: 127.0.0.1:45948 [23/Dec/2019:10:57:51.411] https-in~ servers/server1 0/0/0/-1/100001 504 194 - - sH-- 1/1/0/0/0 0/0 "GET / HTTP/1.1"
vm-2 haproxy[21255]: 127.0.0.1:45948 [23/Dec/2019:10:57:51.411] https-in~ servers/server1 0/0/0/-1/100001 504 194 - - sH-- 1/1/0/0/0 0/0 "GET / HTTP/1.1"
vm-2 haproxy[21255]: 127.0.0.1:46122 [23/Dec/2019:10:59:31.435] https-in~ servers/server1 0/0/0/-1/100002 504 194 - - sH-- 1/1/0/0/0 0/0 "GET /favicon.ico HTTP/1.1"
任何帮助将不胜感激。
【问题讨论】:
标签: haproxy