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
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
|
||||
|
||||
```bash
|
||||
$ nginx -t
|
||||
```
|
||||
@ -61,6 +68,13 @@ $ nginx -t
|
||||
```bash
|
||||
$ ./maintenance.sh [hostname] [on/off]
|
||||
```
|
||||
|
||||
#### Optionally
|
||||
|
||||
```bash
|
||||
$ maintenance [hostname] [on/off]
|
||||
```
|
||||
|
||||
*** Note: [hostname] must match the hostname in your.hostname.com.conf/nginx.conf ***
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user