Commit 88153888 authored by Lukáš Lalinský's avatar Lukáš Lalinský

Enable HTTP/2

parent 8cb30675
Pipeline #20209 passed with stage
in 34 seconds
......@@ -87,7 +87,7 @@ frontend fe_http
use_backend be_letsencrypt if is_letsencrypt
frontend fe_https
bind *:443 ssl crt {{$.SSLDir}}
bind *:443 ssl crt {{$.SSLDir}} alpn h2,http/1.1
acl is_letsencrypt path_beg /.well-known/acme-challenge
use_backend be_letsencrypt if is_letsencrypt
{{range $site := .Sites -}}
......
......@@ -109,7 +109,7 @@ frontend fe_http
use_backend be_letsencrypt if is_letsencrypt
frontend fe_https
bind *:443 ssl crt /etc/haproxy/ssl/
bind *:443 ssl crt /etc/haproxy/ssl/ alpn h2,http/1.1
acl is_letsencrypt path_beg /.well-known/acme-challenge
use_backend be_letsencrypt if is_letsencrypt
acl domain_example ssl_fc_sni -i example.com
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment