by warmwaffles · 13y ago · 0 comments
nginx -t (test your configuration)
nginx -s reload (reload your configuration)
Also I prefer "nginx -s restart".
The reason it's as such is because of what @timroman said in his reply, but if this method is no different and scales better no reason not to use it instead.
I just wish the article talked about using reload as well as restart and when to use them.
[1] On FreeBSD, we just use `killall -HUP nginx` to reload; your distro will probably send HUP to the master process' PID