问题
运行nginx -t测试nginx.conf时候出现报错open() “/usr/local/var/run/nginx.pid” failed (13: Permission denied)
解决(给相应文件夹权限)
sudo chmod -R 777 /usr/local/var/run
运行nginx -t测试nginx.conf时候出现报错open() “/usr/local/var/run/nginx.pid” failed (13: Permission denied)
sudo chmod -R 777 /usr/local/var/run