I saw this example at serverfault.com:
set $backend “http://dynamic.example.com:80”;
I have a few questions:
- If the resolver DNS becomes unavailable (say connection timeout),
will nginx do? Will it keep using the old IPs or will it flush the DNS
since TTL expires? If later, the proxy will stop working.
- In the upstream block, I could define “keepalive #”, but with this
example, how can I do that?
- This page
“This directive is available as part of our commercial subscription.”.
that still up to date? Can “resolver”, “resolver_timeout” be used in