mirror of
https://github.com/tmiland/Nginx-Maintenance-Mode
synced 2024-11-09 17:59:42 +01:00
Update README.md
This commit is contained in:
parent
cb6ac2dca6
commit
509a73e108
12
README.md
12
README.md
@ -22,8 +22,6 @@ $ git clone https://github.com/alexphelps/server-error-pages.git /etc/nginx/html
|
||||
$ cp -rp /etc/nginx/html/server-error-pages/_site/maintenance-page.html /etc/nginx/html/server-error-pages/_site/maintenance-page_off.html
|
||||
$ nginx -t # Check for errors, if found, correct them and;
|
||||
$ chmod +x maintenance.sh
|
||||
$ ./maintenance.sh your.hostname.com on # Or
|
||||
$ ./maintenance.sh your.hostname.com off
|
||||
```
|
||||
|
||||
### Add to server directive
|
||||
@ -84,16 +82,6 @@ location @maintenance
|
||||
- If not, operation is back to normal.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Credits
|
||||
|
||||
- Server-Error-Pages
|
||||
|
Loading…
Reference in New Issue
Block a user