1. nginx报错
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
2. 解决方法
执行/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf然后重启 ./nginx -s reload