We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5de95a8 + ccf9cce commit 965873aCopy full SHA for 965873a
backend/templates/_listen.conf
@@ -5,9 +5,9 @@
5
#listen [::]:80;
6
{% endif %}
7
{% if certificate -%}
8
- listen 443 ssl{% if http2_support %} http2{% endif %};
+ listen 443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
9
{% if ipv6 -%}
10
- listen [::]:443 ssl{% if http2_support %} http2{% endif %};
+ listen [::]:443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
11
{% else -%}
12
#listen [::]:443;
13
0 commit comments