sudo systemctl stop nginx
sudo service nginx restart
sudo systemctl start nginx
# stops nginx sudo systemctl stop nginx # starts nginx sudo systemctl start nginx
nginx -s stop
$ sudo service nginx stop