We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffe05eb + d7e0558 commit eaf6335Copy full SHA for eaf6335
backend/templates/_listen.conf
@@ -5,11 +5,16 @@
5
#listen [::]:80;
6
{% endif %}
7
{% if certificate -%}
8
- listen 443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
+ listen 443 ssl;
9
{% if ipv6 -%}
10
- listen [::]:443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
+ listen [::]:443 ssl;
11
{% else -%}
12
#listen [::]:443;
13
14
15
server_name {{ domain_names | join: " " }};
16
+{% if http2_support == 1 or http2_support == true %}
17
+ http2 on;
18
+{% else -%}
19
+ http2 off;
20
+{% endif %}
0 commit comments