Question 1 of 5
Why does a
resolver directive make upstreams dynamic?
Static names resolve once at config load; variables resolve forever.
A literal proxy_pass http://backend.example.com is pinned at startup. Put the name in a variable with a resolver declared, and each TTL expiry re-queries DNS — the address can change underneath a running NGINX.
Review this lesson