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
- Stop or stop Nginx properly: Nginx -s quit
- Configuration file modification reload command: nginx -s reload
www.jianshu.com/p/4c250c1cd…