Skip to content

Commit f022e84

Browse files
authored
Add SSL and HTTP2 into IPv6 on listen.conf
I can only server contents with IPv6 because I'm sitting behind CGN on IPv4. When enabling HTTP2 it still not serve contents with HTTP2 as there are missing arguments in the `listen`. But it still does the SSL encryption. Previous to this commit it generates: ``` listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443; ``` Now it generates: ``` listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; ```
1 parent 07f60e5 commit f022e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/templates/_listen.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% if certificate -%}
88
listen 443 ssl{% if http2_support %} http2{% endif %};
99
{% if ipv6 -%}
10-
listen [::]:443;
10+
listen [::]:443 ssl{% if http2_support %} http2{% endif %};
1111
{% else -%}
1212
#listen [::]:443;
1313
{% endif %}

0 commit comments

Comments
 (0)