nginx-proxy-manager/backend/templates
Amir Zarrinkafsh 6c1ae77a2a
Utilise variable for custom locations proxy_pass
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.
2021-07-23 16:24:46 +10:00
..
_assets.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_certificates.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_exploits.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_forced_ssl.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_header_comment.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
_hsts.conf Update _hsts.conf template 2021-03-13 12:40:47 +00:00
_listen.conf - Add ability to disable ipv6, fixes #312 2020-04-07 10:43:19 +10:00
_location.conf Utilise variable for custom locations proxy_pass 2021-07-23 16:24:46 +10:00
dead_host.conf All logs in single folder 2021-06-29 23:07:54 +02:00
default.conf All logs in single folder 2021-06-29 23:07:54 +02:00
ip_ranges.conf v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
letsencrypt-request.conf All logs in single folder 2021-06-29 23:07:54 +02:00
proxy_host.conf All logs in single folder 2021-06-29 23:07:54 +02:00
redirection_host.conf All logs in single folder 2021-06-29 23:07:54 +02:00
stream.conf - Add ability to disable ipv6, fixes #312 2020-04-07 10:43:19 +10:00