Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart nginx

sudo systemctl reload nginx
Comment

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
Comment

restart nginx ubuntu

systemctl restart nginx
Comment

restart 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
Comment

restart nginx mac

brew services restart nginx
Comment

restart nginx windows

@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu install gimp 
Shell :: gyp ERR! stack Error: not found: make 
Shell :: nx test lib 
Shell :: another git process seems to be running in this repository 
Shell :: upgrade pillow version 
Shell :: Warning: heroku update available from 7.47.4 to 7.47.5 
Shell :: install rest framework 
Shell :: how to open xampp control panel in ubuntu 
Shell :: uninstall material ui react 
Shell :: git match remote master 
Shell :: enable telnet using powershell 
Shell :: git command show current repo 
Shell :: conda install openpyxl 
Shell :: uninstalling eclipse from ubuntu 
Shell :: install maven in ubuntu 
Shell :: linux how to get fqdn 
Shell :: download filezilla in ubuntu 
Shell :: how to get my ip address mac terminal 
Shell :: add git user and email 
Shell :: how to pip install asyncio 
Shell :: check ubuntu version 
Shell :: yum install node 
Shell :: yarn install ignore node version 
Shell :: install nmap ubuntu 
Shell :: show linux distro 
Shell :: gdebi: command not found 
Shell :: check ububtu version 
Shell :: git config username 
Shell :: get git username and email 
Shell :: hardhat 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =