sudo systemctl reload nginx
sudo systemctl start nginx
sudo systemctl stop nginx
sudo systemctl restart nginx
sudo service nginx start
sudo service nginx stop
sudo service nginx restart
sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx restart
// The nginx package supplies a /etc/init.d/nginx script that provides the usual start|stop|restart|reload ... functionality.
/etc/init.d/nginx restart
// will restart nginx as will
service nginx restart
brew services restart nginx
@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT