What are the commands used to control the Nginx web server?

devquora
devquora

Posted On: Feb 22, 2018

 

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

    Please Login or Register to leave a response.

    Related Questions

    Nginx Interview Questions

    What is Nginx?

    Nginx is a type of an open source web server which is especially used for reverse proxy, load balancer,..

    Nginx Interview Questions

    In what language was the Nginx software being written?

    The language in which the Nginx software is written is ‘C’ Language...

    Nginx Interview Questions

    What are the main tasks of the Nginx web server?

    The following are the main tasks of the Nginx web server:..