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.