try to match all paths

This commit is contained in:
Ulf Gebhardt 2022-01-10 11:07:25 +01:00
parent 20b98358bd
commit 8dd05d69cd
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 11 additions and 1 deletions

View File

@ -25,6 +25,11 @@ server {
root $NGINX_UPDATE_PAGE_ROOT;
index updating.html;
location / {
alias $NGINX_UPDATE_PAGE_ROOT;
index updating.html;
}
#access_log /var/log/nginx/access.log main;
}

View File

@ -10,7 +10,12 @@ server {
root $NGINX_UPDATE_PAGE_ROOT;
index updating.html;
#access_log /var/log/nginx/access.log main;
location / {
alias $NGINX_UPDATE_PAGE_ROOT;
index updating.html;
}
access_log /var/log/nginx/access.log main;
}