错误如下:Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

搜索资料查到可能是因为修改了nginx配置文件(/etc/nginx/sites-available/default)没有分号结尾,我又重新审查了我修改的地方,都有结尾。于是我猜测是我修改了主页(配置文件39行)的地方出了问题因为我把所有都删掉了只留下index.php

之后我恢复了默认的配置  只是在其中添加了index.php  重新启动nginx  完美解决  自己给自己留的坑~

只是记录给自己看   各位看官请随意。

相关文章:

  • 2021-12-27
  • 2021-12-02
  • 2021-08-10
  • 2021-12-31
  • 2021-12-20
  • 2021-11-25
猜你喜欢
  • 2021-10-24
  • 2021-12-12
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-01-20
  • 2021-09-12
相关资源
相似解决方案