2
현재 서비스를 제공하기 위해 node spdy을 사용하고 있습니다. 이것은 아름답게 작동합니다.HAproxy 및 Node.js + Spdy
그러나이 노드 서버간에로드 균형을 조정하려면 HAproxy를 사용하고 싶습니다. 하지만 내 노드/spdy 서버가 HAproxy 뒤에있을 때 request.isSpdy
은 false
... 그래서 spdy가 갑자기 지원되지 않습니까? 글로벌 MAXCONN 4096
defaults
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend http_proxy
mode http
bind *:80
redirect prefix https://awesome.com code 301
frontend https_proxy
mode tcp
bind *:443
default_backend webservers
backend webservers
balance source
server server1 127.0.0.1:10443 maxconn 4096
# server server2 127.0.0.1:10444 maxconn 4096
감사 :
여기 내 HAproxy 구성입니다!