From f6dbf950b5704ec34b9636a1249c47e490393183 Mon Sep 17 00:00:00 2001 From: Joao M Date: Mon, 26 Jun 2023 14:31:45 -0500 Subject: [PATCH] Add HTTP2 support for SSL. --- src/templates/bind.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/bind.j2 b/src/templates/bind.j2 index d33d4bd..e4f264e 100644 --- a/src/templates/bind.j2 +++ b/src/templates/bind.j2 @@ -1,5 +1,5 @@ {% if "ssl" in o %} - bind *:{{ o["port"] }} ssl crt /certs/letsencrypt/ alpn http/1.1 crt /certs/haproxy/ alpn http/1.1 + bind *:{{ o["port"] }} ssl crt /certs/letsencrypt/ alpn h2,http/1.1 crt /certs/haproxy/ alpn h2,http/1.1 {% elif "h2" in o and o["h2"] %} bind *:{{ o["port"] }} proto h2 option http-use-htx