Browse Source

Update haproxy config. Enable HTTP/2.

pull/4400/head
Igor Kulikov 5 years ago
parent
commit
1b531e2858
  1. 4
      docker/haproxy/config/haproxy.cfg

4
docker/haproxy/config/haproxy.cfg

@ -61,7 +61,7 @@ listen edges-rpc-in
server tbEdgesRpc2 tb-core2:7070 check inter 5s resolvers docker_resolver resolve-prefer ipv4
frontend http-in
bind *:${HTTP_PORT}
bind *:${HTTP_PORT} alpn h2,http/1.1
option forwardfor
@ -80,7 +80,7 @@ frontend http-in
default_backend tb-web-backend
frontend https_in
bind *:${HTTPS_PORT} ssl crt /usr/local/etc/haproxy/default.pem crt /usr/local/etc/haproxy/certs.d ciphers ECDHE-RSA-AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM
bind *:${HTTPS_PORT} ssl crt /usr/local/etc/haproxy/default.pem crt /usr/local/etc/haproxy/certs.d ciphers ECDHE-RSA-AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM alpn h2,http/1.1
option forwardfor

Loading…
Cancel
Save