Prechádzať zdrojové kódy

Merge pull request #1384 from bergi9/patch-1

Add SSL and HTTP2 into IPv6 on listen.conf
jc21 4 rokov pred
rodič
commit
fb8f2c2f9a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      backend/templates/_listen.conf

+ 1 - 1
backend/templates/_listen.conf

@@ -7,7 +7,7 @@
 {% if certificate -%}
   listen 443 ssl{% if http2_support %} http2{% endif %};
 {% if ipv6 -%}
-  listen [::]:443;
+  listen [::]:443 ssl{% if http2_support %} http2{% endif %};
 {% else -%}
   #listen [::]:443;
 {% endif %}