#查询nginx所在路径
[centos find 查询文件](https://www.cnblogs.com/codeWorldCodeHeart/p/12049262.html)
#校验如下
/usr/local/nginx/sbin/nginx -t -c /usr/local/nginx/conf/nginx.conf
#重启如下
/usr/local/nginx/sbin/nginx -s reload
#启动如下
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
#停止如下
ps -ef | grep nginx |grep -v grep | awk '{print $2}' |xargs kill -9