1、杀掉Nginx进程
killall nginx
2、启动Nginx
/usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
3、进程是否正常启动
ps -aux | grep nginx
4、查看端口是否正常监听
netstat -anlp | grep nginx
killall nginx
/usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
ps -aux | grep nginx
netstat -anlp | grep nginx