By Alvin Alexander. Last updated: March 22, 2017
Nginx FAQ: How do I gracefully restart Nginx?
This used to be harder, but these days all you have to do is run this command:
$ sudo service nginx restart
Note that you will probably want to make sure your configuration is correct with this command before running that command:
$ nginx -t