mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
6c1ae77a2a
If a custom location is currently set to proxy to a DNS hostname this hostname is cached by nginx. When the underlying IP for the hostname changes this will be cached in nginx until it is restarted. This behaviour is somewhat undesirable if utilising containers. This change sets the proxy_pass for custom locations into a variable and utilises said variable for routing to the upstream backend. This will ensure that nginx will utilise the resolver and resolve the hostname to the current IP instead of relying on the nginx cache. |
||
---|---|---|
.. | ||
_assets.conf | ||
_certificates.conf | ||
_exploits.conf | ||
_forced_ssl.conf | ||
_header_comment.conf | ||
_hsts.conf | ||
_listen.conf | ||
_location.conf | ||
dead_host.conf | ||
default.conf | ||
ip_ranges.conf | ||
letsencrypt-request.conf | ||
proxy_host.conf | ||
redirection_host.conf | ||
stream.conf |