← #TIL

Nginx DNS Resolution

·1 phút đọc

  • NGINX resolves the hostname in proxy_pass once when the configuration is loaded and caches that IP address indefinitely
  • The NGINX resolver only works for dynamic upstream resolution when the proxy_pass directive contains a variable. When you use a static domain name, NGINX ignores the resolver for that specific directive

Note này hắn lấy từ GitHub issue qua.