diff --git a/management/internals/shared/grpc/proxy.go b/management/internals/shared/grpc/proxy.go index 226454ba5..9e40a1c2b 100644 --- a/management/internals/shared/grpc/proxy.go +++ b/management/internals/shared/grpc/proxy.go @@ -157,8 +157,14 @@ func (s *ProxyServiceServer) sendSnapshot(ctx context.Context, conn *proxyConnec // We don't care about disabled reverse proxy targets for snapshots. continue } + // todo: review this fix + path := "/" + if t.Path != nil { + path = "/" + } + paths = append(paths, &proto.PathMapping{ - Path: *t.Path, + Path: path, Target: t.Host, }) }