Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ErikSwan authored and LeoColomb committed Apr 6, 2020
1 parent 5f6dc74 commit bb2a30c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Most specific variables are:

* To reload Nginx and apply new config
```shell
$ nginx reload
$ nginx -s reload
```


Expand Down Expand Up @@ -118,12 +118,12 @@ incorporating the desired functionality from this repository.
To use directly, replace the Nginx config directory with this repository. for example:

```shell
nginx stop
nginx -s stop
cd /etc
mv nginx nginx-previous
git clone https://github.com/h5bp/server-configs-nginx.git nginx
# install-specific edits
nginx start
nginx
```

### Manage sites
Expand All @@ -149,7 +149,7 @@ $ cd /etc/nginx/conf.d
```

```bash
$ nginx reload
$ nginx -s reload
```


Expand Down

0 comments on commit bb2a30c

Please sign in to comment.