2
0
mirror of https://github.com/tmiland/Nginx-Maintenance-Mode synced 2024-09-18 09:41:35 +02:00

Update README.md

This commit is contained in:
Tommy Miland 2019-03-28 20:13:56 +01:00
parent cb6ac2dca6
commit 509a73e108

View File

@ -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