1. Start nginx using the configuration file.

Command: nginx – c/usr/local/nginx/conf/nginx. Conf

 

To restart the service, run the service nginx restart command

 

2. Quickly stop or stop Nginx: Nginx -s stop

 

  1. Stop or stop Nginx properly: Nginx -s quit

 

  1. Configuration file modification reload command: nginx -s reload

www.jianshu.com/p/4c250c1cd…