Bearbeiten der Konfigurationsdatei auf dem Auf treff.darc.de im nginx. Set $maintenance default = on;:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
# set default to 'on' for maintenance mode
map $remote_addr $maintenance {
default on; ### Set to on
127.0.0.1 off;
87.154.222.73 off;
}
server {
listen 443 ssl http2;
[...] | ||||||||
root@treff:~# /usr/local/sbin/set_maintenance_mode.sh -a on |
Und später
Code Block |
---|
root@treff:~# /usr/local/sbin/set_maintenance_mode.sh -a off |
Dadurch wird eine neue index.html geladenngnix reload erforderlich.