Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Managing the Nginx Process

To stop your web server, type:
$ sudo systemctl stop nginx
To start the web server when it is stopped, type:
$ sudo systemctl start nginx
To stop and then start the service again, type
$ sudo systemctl restart nginx
If you are simply making configuration changes, Nginx can often reload without dropping connections. To do this, type:
$ sudo systemctl reload nginx
By default, Nginx is configured to start automatically when the server boots. If this is not what you want, you can disable this behavior by typing:
$ sudo systemctl disable nginx
To re-enable the service to start up at boot, you can type:
$ sudo systemctl enable nginx
Comment

PREVIOUS NEXT
Code Example
Shell :: command get list of gitlab runners 
Shell :: change git repository commmand 
Shell :: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository. 
Shell :: Rename File Extension In folder 
Shell :: download powershell 7.2.1 
Shell :: git copy file from another branch 
Shell :: boolean in shell script 
Shell :: fedora dnf remove repo 
Shell :: ubuntu mount samba dir 
Shell :: pull down a branch locally 
Shell :: wrk install 
Shell :: grep wildcard 
Shell :: doe snot appear to be a git repository 
Shell :: docker.credentials.errors.StoreError: Credentials store docker-credential-desktop.exe exited with "" 
Shell :: git format-patch 
Shell :: install xq command 
Shell :: kill docker 
Shell :: checkout remote git branch 
Shell :: gitignore generator201 
Shell :: how to upload on github with command 
Shell :: grep recursive filename matching 
Shell :: what is the option to sort by file size in unix 
Shell :: xampp ubuntu 20.04 
Shell :: react-fetch-hook 
Shell :: kill task linux ubuntu 
Shell :: update cpanel 
Shell :: edit files from terminal linux 
Shell :: learn prisma 
Shell :: serverless deploy missing credentials in config 
Shell :: grep after match 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =