Answers for "how to restart nginx server"

13

restart nginx

sudo systemctl restart nginx
Posted by: Guest on June-01-2020
3

restart nginx

sudo systemctl reload nginx
Posted by: Guest on September-22-2020
0

Start / Restart / Stop Nginx Commands

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
Posted by: Guest on May-28-2021
1

restart nginx windows

@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT
Posted by: Guest on April-13-2021

Browse Popular Code Answers by Language