nginx-t"hostnotfoundinupstream"的问题解决
一种问题是:DNS服务器不稳定造成的
解决方案:
给nginx服务器添加resolver参数
resolver8.8.8.8;
Google的DNS
http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver
花下眠工作室:http://huaxiamian.cc
nginx-t"hostnotfoundinupstream"的问题解决
一种问题是:DNS服务器不稳定造成的
解决方案:
给nginx服务器添加resolver参数
resolver8.8.8.8;
Google的DNS
http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver
花下眠工作室:http://huaxiamian.cc