nginx-proxy-manager/backend
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
..
.vscode Version 2.1.2 (#317) 2020-03-06 11:04:42 +10:00
config Unifies directory structure in dev and prod containers 2020-10-08 13:38:20 +02:00
doc v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
internal Re-add missing certbot force renewal flag 2021-07-01 09:57:26 +10:00
lib Support ipv6 address as a origin header, hopefully fixes #149 2020-04-14 13:01:13 +10:00
migrations Hotfix: This group of assignments is not aligned 2021-02-10 18:26:19 +01:00
models Removed the need to restart Nginx Proxy Manager after generating JWT key pair. 2021-02-08 17:36:58 -05:00
routes/api Increases timeouts in front- and backend 2020-10-08 13:21:17 +02:00
schema Restrict redirect http code 2021-03-17 14:53:57 +10:00
templates Utilise variable for custom locations proxy_pass 2021-07-23 16:24:46 +10:00
.eslintrc.json v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
.gitignore - Add ability to disable ipv6, fixes #312 2020-04-07 10:43:19 +10:00
.prettierrc v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
app.js Adds error stack information in prod environment for certificates 2020-10-08 15:30:13 +02:00
db.js sqlite3 and psql support 2020-07-19 20:04:29 +02:00
index.js Adds useNullAsDefault to default sqlite config 2021-05-25 14:16:46 +02:00
knexfile.js v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
logger.js v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
migrate.js v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
nodemon.json v2.1.0 (#293) 2020-02-19 15:55:06 +11:00
package.json Bump lodash from 4.17.19 to 4.17.21 in /backend 2021-05-08 02:11:35 +00:00
setup.js Removes force parameter from logrotate 2021-07-09 12:34:50 +02:00
yarn.lock Bump lodash from 4.17.19 to 4.17.21 in /backend 2021-05-08 02:11:35 +00:00