@marcel91200 / caddy Mirror · read-only / commits / 6bcba91f
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

Lowercase env var names in replacer

Matthew Holt committed Jul 3, 2019 at 15:42 UTC 6bcba91fbe1d11fa98dbaa75eeafcdce3921daf8
1 file changed +1 -1
replacer.go
+1 -1
@@ -106,7 +106,7 @@ var defaultReplacements = func() map[string]string {
106 if len(parts) != 2 {
107 continue
108 }
109 - m["env."+strings.ToUpper(parts[0])] = parts[1]
109 + m["env."+strings.ToLower(parts[0])] = parts[1]
110 }
111
112 return m