sudo systemctl reload nginx
sudo nginx -s stop && sudo nginx
// 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