Starting nginx (via systemctl): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
上面是报错内容
首先我们使用
ngnix -t
来查看配置文件是否配置成功
如果成功
我的报错如下,说uc_nginx.conf这个文件软连接太多,
这个问题就是一个特例了,我之前对这个文件建立软连接的时候
对不同项目下的两个配置文件都链接了一下,这就导致这个问题了
我们只需要删除uc_nginx.conf 重新链接一下就ok了
启动成功