0 votes
in NGINX by
What are the commands used to control the Nginx web server?

1 Answer

0 votes
by
Once the Nginx is started you can use the command to control or to stop it. The main command used in the Nginx web server is

Nginx –S signal

In the place of the signal, you can put the command that is being used to control the Nginx. The following are the command you can use in place of the signal:

Stop – use this command if you want to fast shutdown

Quit – you have to use this when you want to gracefully shutdown the Nginx.

Reload – use this command when you want to see the configuration file

Reopen – Reopen file is used for reopening of the file once again.

Related questions

0 votes
asked Aug 5, 2020 in NGINX by SakshiSharma
0 votes
asked Dec 16, 2019 in NGINX by sharadyadav1986
...