原文: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