在安装nginx后,重启时发现报
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
解决办法
sudo nginx -c /usr/local/etc/nginx/nginx.conf