Skip to content

Commit 66b56e0

Browse files
committed
fix(backend): Add suggestions from PR review
1 parent a664e3f commit 66b56e0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

backend/templates/_listen.conf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@
66
{% endif %}
77
{% if certificate -%}
88
listen 443 ssl;
9-
{% if http2_support == 1 or http2_support == true %}
10-
http2;
11-
{% endif %}
129
{% if ipv6 -%}/
1310
listen [::]:443 ssl;
14-
{% if http2_support == 1 or http2_support == true %}
15-
http2;
16-
{% endif %}
1711
{% else -%}
1812
#listen [::]:443;
1913
{% endif %}
14+
{% endif %}
15+
{% if http2_support == 1 or http2_support == true %}
16+
http2 on;
2017
{% endif %}
2118
server_name {{ domain_names | join: " " }};

0 commit comments

Comments
 (0)