nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
在ubunru16.04上重信更改了nginx的配置后,重新reload包一下的错误
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
解决方案
sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
sudo /usr/local/nginx/sbin/nginx -s reload
每天进步一点点