原文:服務器報nginx: [warn] conflicting server name "blog.xueyi.com" on 0.0.0.0:80, ignored

nginx: warn conflicting server name blog.xueyi.com on . . . : , ignored 修改nginx配置參數后,使用nginx t檢查配置. 提示successfull后就可以使用 nginx s reload來重新加載配置 我配置的過程中遇到這樣的問題,就是綁定了主機名后,重新加載配置時會出現警告 nginx: warn conflict ...

2018-09-10 17:41 0 816 推薦指數:

查看詳情

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