Hello!
On Fri, Oct 13, 2017 at 6:11 PM, Grcn H wrote:
>
> However, when I try to do this in nginx I'm getting error `no route to
> host`
>
I can see 2 possibilities:
1. The DNS server returns an IP address your network does not support
(like an IPv6 address), or
2. Your local network settings may have some issues.
You can try this instead:
resolver 8.8.8.8 ipv6=off;
BTW, temporarily enabling the nginx debugging logs can give your more
details about the DNS resolving results. You can use the
openresty-debug package temporarily and set `error_log logs/error.log
debug;` in your `nginx.conf` to enable debugging logs BTW.
Regards,
Yichun