[error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or director
nginx出现了pid丢失的情况
这个时候我们需要重新加载配置文件
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
再执行
nginx -s reload
看下可以了不
[error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or director
nginx出现了pid丢失的情况
这个时候我们需要重新加载配置文件
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
再执行
nginx -s reload
看下可以了不