Oct 25, 2019 in NGINX
Q: What are the commands used to control the Nginx web server?

1 Answer

0 votes
Oct 25, 2019
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
Dec 16, 2019 in NGINX
0 votes
Dec 16, 2019 in NGINX