MENU

Nginx下常见报错

May 25, 2018 • Read: 5740 • Nginx阅读设置

路径下找不到nginx.pid

nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

解决方法

执行一下nginx

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

兼总条贯 知至知终