VPS/云主机等
优惠信息分享

解决nginx: [emerg] directive "include" is not terminated by ";"

今天晚上老蒋有在搬迁网站的时候调试Nginx的时候有报错"nginx: [emerg] directive "include" is not terminated by ";""。看来是这个站点的Nginx规则有问题。应该是哪里缺少分号。

这里我看到提示是28行,但是实际上并不是28行,检查上面或者后面是否有少分号的。检查确实有少,加上后再检测NGINX没有报错,问题解决。

赞(0)
未经允许不得转载:遗弃你|YIQINI.COM » 解决nginx: [emerg] directive "include" is not terminated by ";"

评论 抢沙发

评论前必须登录!

 

登录

找回密码

注册