原文:nginx: [warn] conflicting server name "aaa.bbbb.com" on 0.0.0.0:80, ignored

date: : : author: headsen chen notice :个人原创 故障现象: openresty t nginx: warn conflicting server name aaa.bbbb.com on . . . : , ignored 故障原因: 这个域名做了两个配置文件导致的。消除一个配置文件就可以了 ...

2019-08-12 16:54 0 716 推荐指数:

查看详情

nginx: [warn] conflicting server name "localhost" on xxx, ignored

重复绑定了server name,但这个警告不会影响到服务器运行 查询哪些文件里面包含了 localhost 字段 sudo grep -r localhost /usr/local/nginx/conf/ 将重复的server name 进行修改,重启nginx。 ...

Tue Apr 09 00:01:00 CST 2019 0 539
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM