mirror of
https://github.com/tmiland/Nginx-Maintenance-Mode
synced 2024-09-19 10:12:03 +02:00
Update README.md
This commit is contained in:
parent
e6fc40a9a4
commit
79d8e6c3e6
14
README.md
14
README.md
@ -48,7 +48,14 @@ include snippets/maintenance-page.conf;
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Optionally
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ln -s /path/to/Nginx-Maintenance-Mode/maintenance.sh /usr/bin/maintenance
|
||||||
|
```
|
||||||
|
|
||||||
#### Check for errors
|
#### Check for errors
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ nginx -t
|
$ nginx -t
|
||||||
```
|
```
|
||||||
@ -61,6 +68,13 @@ $ nginx -t
|
|||||||
```bash
|
```bash
|
||||||
$ ./maintenance.sh [hostname] [on/off]
|
$ ./maintenance.sh [hostname] [on/off]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Optionally
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ maintenance [hostname] [on/off]
|
||||||
|
```
|
||||||
|
|
||||||
*** Note: [hostname] must match the hostname in your.hostname.com.conf/nginx.conf ***
|
*** Note: [hostname] must match the hostname in your.hostname.com.conf/nginx.conf ***
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user