Let’s start the discussion about How to stop nginx ubuntu in following methods.
stop , start or restart nginx ubuntu
Run any of the below commands as per your requirement.
#start nginx sudo service nginx start #stop nginx sudo service nginx stop #restart nginx sudo service nginx restart
To stop, start or restart nginx using systemctl then run :
sudo systemctl start nginx sudo systemctl stop nginx sudo systemctl restart nginx
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to remove nginx from ubuntu