reverseproxy: Minor tweaks

We'll need that context in v2.1 when the transport can manage its own
client certificates; see #3198
This commit is contained in:
Matthew Holt
2020-04-09 13:22:05 -06:00
parent 85f5f47f31
commit f29023bf8f
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func cmdReverseProxy(fs caddycmd.Flags) (int, error) {
urlHost := fromURL.Hostname()
if urlHost != "" {
route.MatcherSetsRaw = []caddy.ModuleMap{
caddy.ModuleMap{
{
"host": caddyconfig.JSON(caddyhttp.MatchHost{urlHost}, nil),
},
}