解决 nginx: [error] open()"/usr/local/nginx/logs/nginx.pid"failed (2: No such file or directory) 错误问题

← Continue Reading
昨天遇到个问题,重启 nginx 时报错 nginx: [error] open()"/usr/local/nginx/logs/nginx.pid"failed (2: No such file or directory),进入到 logs 目录发现确实没有 nginx.pid 文件,网搜找了一下解决方案,这里做个备注。 报错信息: cd /usr/local/nginx/sbin/ ./ng...