使用sudo nginx -s reload 报错
nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx.pid"
解决方法:
sudo nginx -c /usr/local/etc/nginx/nginx.conf
然后在sudo nginx -s reload