a ps -ef | grep nginx
b 找出配置文件路径/usr/local/openresty/nginx/sbin/nginx -t
/usr/local/openresty/nginx/sbin/nginx -t