mirror of https://github.com/caddyserver/caddy.git
Lowercase env var names in replacer
This commit is contained in:
parent
ab101d75d0
commit
6bcba91fbe
|
@ -106,7 +106,7 @@ var defaultReplacements = func() map[string]string {
|
|||
if len(parts) != 2 {
|
||||
continue
|
||||
}
|
||||
m["env."+strings.ToUpper(parts[0])] = parts[1]
|
||||
m["env."+strings.ToLower(parts[0])] = parts[1]
|
||||
}
|
||||
|
||||
return m
|
||||
|
|
Loading…
Reference in New Issue