We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc5a8e commit 90ae6eeCopy full SHA for 90ae6ee
util.go
@@ -49,6 +49,12 @@ func prepareConfig(conf DNSConfig) (DNSConfig, error) {
49
if conf.Database.Connection == "" {
50
return conf, errors.New("missing database configuration option \"connection\"")
51
}
52
+
53
+ // Default values for options added to config to keep backwards compatibility with old config
54
+ if conf.API.ACMECacheDir == "" {
55
+ conf.API.ACMECacheDir = "api-certs"
56
+ }
57
58
return conf, nil
59
60
0 commit comments