feat: make coredns-docker upstream resolution opt-in

The bundled `nginx.conf.sigil` keeps rendering IP-based upstreams unless `dns-resolver` is set, for example with `dokku nginx:set --global dns-resolver 127.0.0.1:1053`. Unsetting the property reverts to IP-based upstreams, replacing the previous `off` sentinel.
This commit is contained in:
Jose Diaz-Gonzalez committed 2026-11-06 20:51:33 -05:00
1 parent b5315de49b
commit bf2795640c
10 files changed
+107 -73

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ func ComputedDnsResolver(appName string) string {
}
func GlobalDnsResolver() string {
return common.PropertyGetDefault("nginx", "--global", "dns-resolver", "127.0.0.1:1053")
return common.PropertyGet("nginx", "--global", "dns-resolver")
}
func AppDnsResolverTimeout(appName string) string {