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.
1 parent fe2d889 commit a664e3fCopy full SHA for a664e3f
backend/templates/_listen.conf
@@ -5,9 +5,15 @@
5
#listen [::]:80;
6
{% endif %}
7
{% if certificate -%}
8
- listen 443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
9
-{% if ipv6 -%}
10
- listen [::]:443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
+ listen 443 ssl;
+ {% if http2_support == 1 or http2_support == true %}
+ http2;
11
+ {% endif %}
12
+{% if ipv6 -%}/
13
+ listen [::]:443 ssl;
14
15
16
17
{% else -%}
18
#listen [::]:443;
19
0 commit comments