nginx host not found in upstream "jewelry.360nk.com" in /etc/nginx/conf:94
2014-04-04 10:47
639 查看
nginx 一直用着没问题,昨天晚上重启服务器后,使用域名访问网站突然跳转不过来、
首先用域名ping了下,能够正常解析;
其次又检查下80端口是否被关闭,结果一切都是正常的;
最后才想起检查下nginx 代理服务器,一重启就出现了下面的错误了:
nginx: [emerg] host not found in upstream "jewelry.360nk.com" in /etc/nginx/conf:94
nginx: configuration file /etc/nginx/nginx.conf test failed
查看了下nginx配置文件 语法都没有错,清除一些没有用的域名代理,最后用service nginx reload 重新加载配置文件、
再重新启动nginx 打开网站、行了!!!
至此、我都还未明白为什么会突然用不了:是重启服务器出问题、还是代理服务器缓存、还是其他方面问题、还望有经验者提点下
在此,谢谢了
首先用域名ping了下,能够正常解析;
其次又检查下80端口是否被关闭,结果一切都是正常的;
最后才想起检查下nginx 代理服务器,一重启就出现了下面的错误了:
nginx: [emerg] host not found in upstream "jewelry.360nk.com" in /etc/nginx/conf:94
nginx: configuration file /etc/nginx/nginx.conf test failed
查看了下nginx配置文件 语法都没有错,清除一些没有用的域名代理,最后用service nginx reload 重新加载配置文件、
再重新启动nginx 打开网站、行了!!!
至此、我都还未明白为什么会突然用不了:是重启服务器出问题、还是代理服务器缓存、还是其他方面问题、还望有经验者提点下
在此,谢谢了
相关文章推荐
- 服务器部署_nginx的host not found in upstream "tomcat_www.bojinne" 错误解决办法
- nginx 启动错误"nginx: [emerg] host not found in upstream "解决方案
- Nginx 提示host not found in upstream 错误解决方法
- cocos2d-x Program "bash" is not found in PATH
- 7. Eclipse 报错:Error: Program "sh" not found in PATH
- rcp(插件开发)Application "XXX" could not be found in the registry的解决办法
- javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context "java:".
- Hive学习2_错误: The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
- 配置 nginx server 出现nginx: [emerg] "root" directive is duplicate in /etc/nginx/server/blogs.conf:7
- nginx: [emerg] "server" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:48
- objective-c "_OBJC_CLASS_$_SKPSMTPMessage" eferenced from: objc-class-ref in xxx.o symbol(s) not found for architect
- Application "XXX" could not be found in the registry的解决办法
- Program "make" is not found in PATH
- Another "mfc90ud.dll" not found error in VS 2008
- EJB3.0异常总结---Exception in thread "main" javax.naming.NameNotFoundException: StatelessEjbBean not bou
- nginx: [emerg] unknown directive "geoip_country" in /etc/nginx/nginx.conf:23
- Exception in thread "main" java.sql.SQLException: ORA-00923: FROM keyword not found where expected
- Exception in thread "main" org.hibernate.MappingNotFoundException: resource: com.xzhl.user.model/Stu
- Go丨语言package github.com/Go-SQL-Driver/MySQL: exec: "git": executable file not found in %PATH%解决方法
- Exception in thread "main" org.openqa.selenium.remote.SessionNotFoundException