Update haproxy config. Enable HTTP/2.

This commit is contained in:
Igor Kulikov 2021-04-12 12:37:03 +03:00
parent 0d733455c1
commit 1b531e2858

View File

@ -61,7 +61,7 @@ listen edges-rpc-in
server tbEdgesRpc2 tb-core2:7070 check inter 5s resolvers docker_resolver resolve-prefer ipv4 server tbEdgesRpc2 tb-core2:7070 check inter 5s resolvers docker_resolver resolve-prefer ipv4
frontend http-in frontend http-in
bind *:${HTTP_PORT} bind *:${HTTP_PORT} alpn h2,http/1.1
option forwardfor option forwardfor
@ -80,7 +80,7 @@ frontend http-in
default_backend tb-web-backend default_backend tb-web-backend
frontend https_in 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 option forwardfor