Commit 1b531e2858868e035c801663fd941533bd22743c
1 parent
0d733455
Update haproxy config. Enable HTTP/2.
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -61,7 +61,7 @@ listen edges-rpc-in | @@ -61,7 +61,7 @@ listen edges-rpc-in | ||
61 | server tbEdgesRpc2 tb-core2:7070 check inter 5s resolvers docker_resolver resolve-prefer ipv4 | 61 | server tbEdgesRpc2 tb-core2:7070 check inter 5s resolvers docker_resolver resolve-prefer ipv4 |
62 | 62 | ||
63 | frontend http-in | 63 | frontend http-in |
64 | - bind *:${HTTP_PORT} | 64 | + bind *:${HTTP_PORT} alpn h2,http/1.1 |
65 | 65 | ||
66 | option forwardfor | 66 | option forwardfor |
67 | 67 | ||
@@ -80,7 +80,7 @@ frontend http-in | @@ -80,7 +80,7 @@ frontend http-in | ||
80 | default_backend tb-web-backend | 80 | default_backend tb-web-backend |
81 | 81 | ||
82 | frontend https_in | 82 | frontend https_in |
83 | - 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 | 83 | + 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 |
84 | 84 | ||
85 | option forwardfor | 85 | option forwardfor |
86 | 86 |