1.启动
nginx -c /usr/local/nginx/conf/nginx.conf
2.关闭
(1. 查询nginx主进程号 : ps -ef | grep nginx
(2. 从容停止: kill -QUIT 主进程号