mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-05 12:20:10 +00:00
Merge 2a9e573c61
into 79d28f03d0
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
listen 80;
|
||||
listen {{ http_port }};
|
||||
{% if ipv6 -%}
|
||||
listen [::]:80;
|
||||
listen [::]:{{ http_port }};
|
||||
{% else -%}
|
||||
#listen [::]:80;
|
||||
#listen [::]:{{ http_port }};
|
||||
{% endif %}
|
||||
{% if certificate -%}
|
||||
listen 443 ssl;
|
||||
listen {{ https_port }} ssl;
|
||||
{% if ipv6 -%}
|
||||
listen [::]:443 ssl;
|
||||
listen [::]:{{ https_port }} ssl;
|
||||
{% else -%}
|
||||
#listen [::]:443;
|
||||
#listen [::]:{{ https_port }};
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
server_name {{ domain_names | join: " " }};
|
||||
|
Reference in New Issue
Block a user