fix(backend): Add suggestions from PR review
This commit is contained in:
parent
a664e3f7b5
commit
e1a436e5ac
1 changed files with 3 additions and 6 deletions
|
@ -6,16 +6,13 @@
|
|||
{% endif %}
|
||||
{% if certificate -%}
|
||||
listen 443 ssl;
|
||||
{% if http2_support == 1 or http2_support == true %}
|
||||
http2;
|
||||
{% endif %}
|
||||
{% if ipv6 -%}/
|
||||
listen [::]:443 ssl;
|
||||
{% if http2_support == 1 or http2_support == true %}
|
||||
http2;
|
||||
{% endif %}
|
||||
{% else -%}
|
||||
#listen [::]:443;
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if http2_support == 1 or http2_support == true %}
|
||||
http2 on;
|
||||
{% endif %}
|
||||
server_name {{ domain_names | join: " " }};
|
||||
|
|
Loading…
Reference in a new issue