参考 :http://www.cnblogs.com/codingcloud/p/5095066.html
启动:
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf停止: ps -ef|grep nginx kill <pid> 或者: 进入nginx可执行目录sbin下,输入命令./nginx -s stop重启:
进入nginx可执行目录sbin下,输入命令./nginx -s reload 即可