Manage nginx (using signals)

  • Start: sbin/nginx
  • Stop immediately: sbin/nginx -s stop
  • Smooth stop: sbin/nginx -s quit
  • Reload configuration: sbin/nginx -s reload (will not cause the server to shut down, but load the configuration file. Use it after modifying the configuration file!)
  • Restart the log: sbin/nginx -s reopen

No matter under windows or linux, send signal (signal) through nginx to complete the processing:

  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325122646&siteId=291194637