stop nginx windows code example
Example 1: stop nginx
sudo systemctl stop nginx
Example 2: stop nginx
sudo systemctl start nginx
Example 3: stop nginx
sudo service nginx restart
Example 4: nginx reload on windows
nginx -s stop #fast shutdown
nginx -s quit #graceful shutdown
nginx -s reload #changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes
nginx -s reopen #re-opening log files