mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 07:53:39 +00:00
@@ -13,8 +13,9 @@ server {
|
||||
include conf.d/include/block-exploits.conf;
|
||||
{% if use_default_location %}
|
||||
location / {
|
||||
alias /html/404/;
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
root /html/404;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
|
@@ -26,7 +26,9 @@ server {
|
||||
|
||||
{%- if value == "404" %}
|
||||
location / {
|
||||
alias /html/404/;
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
root /html/404;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
{%- endif %}
|
||||
|
||||
@@ -44,14 +46,16 @@ server {
|
||||
{%- if value == "congratulations" %}
|
||||
location / {
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
alias /html/default/;
|
||||
root /html/default;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
{%- endif %}
|
||||
|
||||
{%- if value == "html" %}
|
||||
location / {
|
||||
include conf.d/include/acme-challenge.conf;
|
||||
alias /data/etc/html/;
|
||||
root /data/etc/html;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
{%- endif %}
|
||||
}
|
||||
|
Reference in New Issue
Block a user