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 %}
|
{% endif %}
|
||||||
{% if certificate -%}
|
{% if certificate -%}
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
{% if http2_support == 1 or http2_support == true %}
|
|
||||||
http2;
|
|
||||||
{% endif %}
|
|
||||||
{% if ipv6 -%}/
|
{% if ipv6 -%}/
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
{% if http2_support == 1 or http2_support == true %}
|
|
||||||
http2;
|
|
||||||
{% endif %}
|
|
||||||
{% else -%}
|
{% else -%}
|
||||||
#listen [::]:443;
|
#listen [::]:443;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% if http2_support == 1 or http2_support == true %}
|
||||||
|
http2 on;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
server_name {{ domain_names | join: " " }};
|
server_name {{ domain_names | join: " " }};
|
||||||
|
|
Loading…
Reference in a new issue