nginx: [emerg] host not found in upstream "baafile.yiche.com" in /usr/local/etc/nginx/ngin
Posted Key
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx: [emerg] host not found in upstream "baafile.yiche.com" in /usr/local/etc/nginx/ngin相关的知识,希望对你有一定的参考价值。
场景:nginx之前配置好的,直接启动即可,过了一段时间,突然启动报错。
nginx: [emerg] host not found in upstream "baafile.yiche.com" in /usr/local/etc/nginx/nginx.conf:67
应该是 baafile.yiche.com 这个域名 之前可以访问,现在不能访问了。把此处的注释重启即可。
以上是关于nginx: [emerg] host not found in upstream "baafile.yiche.com" in /usr/local/etc/nginx/ngin的主要内容,如果未能解决你的问题,请参考以下文章
nginx启动报错:host not found in upstream
nginx: [emerg] "upstream" directive is not allowed
nginx检查报错:nginx: [emerg] "server" directive is not allowed here in
nginx [emerg] socket() []80 failed (97 Address family not supported by protocol)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: [emerg] "upstream" directive is not allowed here in .../.../.../*.conf