Browse Source

Merge pull request #1384 from bergi9/patch-1

Add SSL and HTTP2 into IPv6 on listen.conf
jc21 4 năm trước cách đây
mục cha
commit
fb8f2c2f9a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 %}