nginx: [error] invalid PID number "" in "/usr/local/webserver/nginx/logs/nginx.pid" (原)
进入nginx文件下,例如 :/usr/local/nginx/sbin
[root@iZ25f7emo7cZ /]# cd /usr/local/nginx/sbin
运行命令:
[root@iZ25f7emo7cZ /]# ./nginx -c /usr/local/webserver/nginx/conf/nginx.conf
重新加载:
[root@iZ25f7emo7cZ /]# ./nginx -s reload