Nginx reload code example
Example 1: reload nginx
sudo systemctl reload nginx
Example 2: 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
Example 3: nginx stop commands
sudo systemctl stop nginx
Example 4: relead ngix
sudo systemctl reload nginx