今天测试域名访问不了,登陆 Linux(Ubuntu)重启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

 

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2021-08-16
猜你喜欢
  • 2021-04-26
  • 2021-11-15
  • 2022-12-23
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案