1. 程式人生 > >nginx服務警告conflicting server name “bbs.xxxxxx.com” on 0.0.0.0:80, ignored

nginx服務警告conflicting server name “bbs.xxxxxx.com” on 0.0.0.0:80, ignored

中修改 指定 ict nginx服務 文件中 com .com png cnblogs

在修改nginx服務的配置文件後檢查發現如下錯誤:

技術分享


排查方法如下:

技術分享

排查後發現www.conf文件中錯誤指定了域名並且和bbs.conf中相同

解決:在www.conf中修改

技術分享

nginx服務警告conflicting server name “bbs.xxxxxx.com” on 0.0.0.0:80, ignored