stop nginx on windows code example
Example 1: stop nginx
sudo systemctl stop nginx
Example 2: stop nginx
sudo service nginx restart
Example 3: nginx stop 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
Example 4: stop nginx
# stops nginx
sudo systemctl stop nginx
# starts nginx
sudo systemctl start nginx