mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
wildcard match for update page
This commit is contained in:
parent
03350a76fb
commit
430af1ade6
@ -25,10 +25,9 @@ server {
|
||||
root $NGINX_UPDATE_PAGE_ROOT;
|
||||
index updating.html;
|
||||
|
||||
#location / {
|
||||
# alias $NGINX_UPDATE_PAGE_ROOT;
|
||||
# index updating.html;
|
||||
#}
|
||||
location / {
|
||||
try_files /updating.html =404;
|
||||
}
|
||||
|
||||
#access_log /var/log/nginx/access.log main;
|
||||
|
||||
|
||||
@ -1,21 +1,19 @@
|
||||
|
||||
server {
|
||||
server_name _;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
include /etc/nginx/common/protect.conf;
|
||||
include /etc/nginx/common/protect_add_header.conf;
|
||||
include /etc/nginx/common/protect.conf;
|
||||
include /etc/nginx/common/protect_add_header.conf;
|
||||
|
||||
root $NGINX_UPDATE_PAGE_ROOT;
|
||||
index updating.html;
|
||||
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;
|
||||
location / {
|
||||
try_files /updating.html =404;
|
||||
}
|
||||
|
||||
#access_log /var/log/nginx/access.log main;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user