浏览代码

Merge pull request #1384 from bergi9/patch-1

Add SSL and HTTP2 into IPv6 on listen.conf
jc21 4 年之前
父节点
当前提交
fb8f2c2f9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 %}