From 1b531e2858868e035c801663fd941533bd22743c Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 12 Apr 2021 12:37:03 +0300 Subject: [PATCH] Update haproxy config. Enable HTTP/2. --- docker/haproxy/config/haproxy.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/haproxy/config/haproxy.cfg b/docker/haproxy/config/haproxy.cfg index 285de270b3..50dcf36434 100644 --- a/docker/haproxy/config/haproxy.cfg +++ b/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