Hm, nginx caches IP addresses for hostnames in proxy_pass (good) but ignores the TTL (bad) making you need to reload nginx if the IP address changes.
Have you specified the resolver option? If so, it's supposed to cache based on TTL.
-
-
No. I didn't realize that was a prerequisite for what should be always on.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
If you haven't specified resolver, nginx resolves once, at startup, using libc's resolver. Since that's not asynchronous, nginx can't update it post-startup.
-
Ahh. And the libc resolver doesn't tell you TTLs.
-
Yup, that too.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.