Commit 5593005
committed
reverse-proxy-nginx: disable dns cache for upstream
That they are resolved each time.
Helps when you have to recreate upstreams.
Then you don't have to also recreate the reverse-proxy.
See https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver
I also tried using variables, but I failed to rewrite
the api url when using variables.
https://wisdom.gitbook.io/gyan/nginx/deep-dive-into-nginx-variables1 parent 994f92f commit 5593005
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments