mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-01 11:32:28 +00:00
fix(backend): Add suggestions from PR review
This commit is contained in:
parent
a664e3f7b5
commit
e1a436e5ac
@ -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…
x
Reference in New Issue
Block a user