diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/caddyhttp/vars.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/vars.go b/modules/caddyhttp/vars.go index 91a2072..b0f10a7 100644 --- a/modules/caddyhttp/vars.go +++ b/modules/caddyhttp/vars.go @@ -91,7 +91,7 @@ func (m *VarsMatcher) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { if len(vals) == 0 { return d.Errf("malformed vars matcher: expected at least one value to match against") } - (*m)[field] = vals + (*m)[field] = append((*m)[field], vals...) if d.NextBlock(0) { return d.Err("malformed vars matcher: blocks are not supported") } |