Update README.md

According to the nginx documentation, commands like `nginx reload` need the `-s` flag, as in `nginx -s reload`. This commit fixes the command examples in the README.
This commit is contained in:
Erik Swan 2020-04-05 15:12:33 -06:00 committed by Léo Colombaro
parent 5f6dc74932
commit bb2a30cacc
1 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ Most specific variables are:
* To reload Nginx and apply new config * To reload Nginx and apply new config
```shell ```shell
$ nginx reload $ nginx -s reload
``` ```
@ -118,12 +118,12 @@ incorporating the desired functionality from this repository.
To use directly, replace the Nginx config directory with this repository. for example: To use directly, replace the Nginx config directory with this repository. for example:
```shell ```shell
nginx stop nginx -s stop
cd /etc cd /etc
mv nginx nginx-previous mv nginx nginx-previous
git clone https://github.com/h5bp/server-configs-nginx.git nginx git clone https://github.com/h5bp/server-configs-nginx.git nginx
# install-specific edits # install-specific edits
nginx start nginx
``` ```
### Manage sites ### Manage sites
@ -149,7 +149,7 @@ $ cd /etc/nginx/conf.d
``` ```
```bash ```bash
$ nginx reload $ nginx -s reload
``` ```