2
0
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:
Tommy Miland 2019-04-03 18:22:08 +02:00
parent e6fc40a9a4
commit 79d8e6c3e6

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