启动代码格式:nginx安装目录地址 -c nginx配置文件地址
./nginx -c /data/server/nginx/nginx/conf/nginx.conf
查询进程号
ps -ef | grep nginx
重启
kill -hup 进程号