问题:nginx启动的时候会报丢失pid的错误
nginx: [error] open() “/usr/local/var/run/nginx.pid” failed
解决方案:
sudo nginx -c /usr/local/etc/nginx/nginx.conf
sudo nginx -s reload
问题:nginx启动的时候会报丢失pid的错误
nginx: [error] open() “/usr/local/var/run/nginx.pid” failed
解决方案:
sudo nginx -c /usr/local/etc/nginx/nginx.conf
sudo nginx -s reload
转载于:https://www.cnblogs.com/beijing-Bob/p/5665689.html