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

// 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 windows

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

PREVIOUS NEXT
Code Example
Shell :: test internet speed terminal linux 
Shell :: kill process running on port mac 
Shell :: git remove proxy settings 
Shell :: find gnome shell version 
Shell :: git name email 
Shell :: update node version debian 
Shell :: install nodemon as dev dependency 
Shell :: git list user and email 
Shell :: kill a port process in ubuntu 
Shell :: centos stop apache 
Shell :: run disk usage analyzer as root ubuntu 20.04 
Shell :: list used ports on mac 
Shell :: flush dns cmd 
Shell :: como instalar telegram ubuntu 
Shell :: how to install python on ubuntu pyenv 
Shell :: update packages ubuntu 
Shell :: how to check which process is using more memory in linux 
Shell :: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none 
Shell :: Failed to restart mongodb.service: Unit mongodb.service is masked. 
Shell :: recent branches 
Shell :: how to update laravel installer 
Shell :: git assume unchanged and do not commit 
Shell :: magento 2 file permission 
Shell :: count number of files linux command 
Shell :: get mac temperature 
Shell :: php restart 
Shell :: error pip install psycopg2-binary ld: library not found for -lssl 
Shell :: git config global 
Shell :: install php 7.4 chocolatey 
Shell :: install hardhat 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =