Starten Sie Nginx neu
sudo systemctl restart nginx
Obedient Osprey
sudo systemctl restart nginx
sudo systemctl reload nginx
sudo nginx -s stop && sudo nginx
/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