今天关闭nginx后重启不了:

nginx -s reload

结果报错:

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

解决方法:

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

相关文章:

  • 2022-02-12
  • 2022-12-23
  • 2021-04-26
  • 2021-11-15
猜你喜欢
  • 2021-07-28
  • 2021-07-29
  • 2021-07-19
相关资源
相似解决方案