Merge pull request #1384 from bergi9/patch-1

Add SSL and HTTP2 into IPv6 on listen.conf
This commit is contained in:
jc21
2021-09-08 11:30:00 +10:00
committed by GitHub

View File

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