第一步、强行停止nginx进程pkill -9 nginx2、开启nginx进程ps -ef | grep nginx3、重新配置nginx.conf文件nginx -c /etc/nginx/nginx.conf