calling reload nginx by the system scripts

This commit is contained in:
Pedro de Carvalho 2015-02-23 09:52:34 +00:00
parent b43fbb1f69
commit 59ddad53c8
1 changed files with 2 additions and 2 deletions

View File

@ -81,6 +81,6 @@ To verify a particular nginx config file
This will test the nginx config file and throws error if any. Otherwise test is successful and you can restart nginx. This will test the nginx config file and throws error if any. Otherwise test is successful and you can restart nginx.
Finally reload nginx to apply the changes. The `-s reload` flag means that it will send a signal to the main process to reload the configuration files. If it is valid, it starts accepting connections to the new configuration. The [documentation is more in depth](http://nginx.org/en/docs/beginners_guide.html#control) Finally reload nginx to apply the changes. This means nginx will reload the configuration files and if it is valid, it starts accepting connections to the new configuration. The [documentation is more in depth](http://nginx.org/en/docs/beginners_guide.html#control)
nginx -s reload /etc/init.d/nginx reload