in NGINX by
Q:
What are the commands used to control the Nginx web server?

▼ Show 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.
Learn More with Madanswer

Related questions

0 votes
asked Dec 16, 2019 in NGINX by sharadyadav1986
...