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