calling reload nginx by the system scripts
This commit is contained in:
parent
b43fbb1f69
commit
59ddad53c8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue