在安装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
在安装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
转载于:https://www.cnblogs.com/ailhc/p/6568471.html