> Linux服务器 > nginx >

nginx的常用命令

  1. Starting, Stopping, and Reloading Configuration  
  2.   
  3. To start nginx, run the executable file. Once nginx is started, it can be controlled by invoking the executable with the -s parameter. Use the following syntax:  
  4.   
  5. nginx -s signal  
  6. Where signal may be one of the following:  
  7.   
  8. stop — fast shutdown  
  9. quit — graceful shutdown  
  10. reload — reloading the configuration file  
  11. reopen — reopening the log files  
(责任编辑:IT)