nginx: [error] invalid PID number "" in ...

一、查看进程nginx

ps -ef|grep nginx 

二、进入nginx安装目录sbin下,执行命令:web

./nginx -t

 以下显示:server

syntax is ok
test is successful

 

三、继续执行命令:进程

nginx -c /usr/local/webserver/nginx/conf/nginx.conf
nginx -s reload
相关文章
相关标签/搜索