1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Reload The nginx Configuration as a devops til.

This commit is contained in:
jbranchaud
2015-06-15 08:33:06 -05:00
parent 438605737b
commit 1a6b2e5867
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# Reload The nginx Configuration
The nginx service won't immediately start using a modified or replaced nginx
configuration. Once a `restart` or `reload` signal is received by nginx, it
will apply the changes. The `reload` signal
```
$ service nginx reload
```
tells nginx to reload the configuration. It will check the validity of the
configuration file and then spawn new worker processes for the latest
configuration. It then sends requests to shut down the old worker processes.
This means that during a *reload* nginx is always up and processing
requests.
[source](http://nginx.org/en/docs/beginners_guide.html)