diff --git a/pkg/backends/options/options.go b/pkg/backends/options/options.go index c479348f1..d08ce3f58 100644 --- a/pkg/backends/options/options.go +++ b/pkg/backends/options/options.go @@ -631,6 +631,9 @@ func SetDefaults( if err != nil { return nil, err } + for k, v := range o.Paths { + no.Paths[k] = v.Clone() + } } if metadata.IsDefined("backends", name, "alb") { diff --git a/pkg/proxy/paths/options/options.go b/pkg/proxy/paths/options/options.go index 4758c621d..e66e0ba1e 100644 --- a/pkg/proxy/paths/options/options.go +++ b/pkg/proxy/paths/options/options.go @@ -193,7 +193,7 @@ func (o *Options) Merge(o2 *Options) { } var pathMembers = []string{"path", "match_type", "handler", "methods", "cache_key_params", - "cache_key_headers", "default_ttl_ms", "request_headers", "response_headers", + "cache_key_headers", "default_ttl_ms", "request_params", "request_headers", "response_headers", "response_headers", "response_code", "response_body", "no_metrics", "collapsed_forwarding", "req_rewriter_name", }