mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 16:03:38 +00:00
change paths and make quic be enabled sepperat
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
{% if certificate -%}
|
||||
{% if certificate %}
|
||||
listen 443 ssl{% if http2_support %} http2{% endif %};
|
||||
listen [::]:443 ssl{% if http2_support %} http2{% endif %};
|
||||
{% if http2_support -%}
|
||||
{% if hsts_subdomains %}
|
||||
listen 443 http3;
|
||||
listen [::]:443 http3;
|
||||
|
||||
|
@@ -45,7 +45,7 @@ server {
|
||||
{%- if value == "html" %}
|
||||
location / {
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
alias /data/nginx/html/;
|
||||
alias /data/etc/html/;
|
||||
}
|
||||
{%- endif %}
|
||||
}
|
||||
|
@@ -40,7 +40,7 @@ server {
|
||||
{% if access_list.items.length > 0 %}
|
||||
# Authorization
|
||||
auth_basic "Authorization required";
|
||||
auth_basic_user_file /data/nginx/access/{{ access_list_id }};
|
||||
auth_basic_user_file /data/etc/access/{{ access_list_id }};
|
||||
|
||||
{{ access_list.passauth }}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user