diff --git a/pkg/cluster/https.go b/pkg/cluster/https.go index f6434c4add..e55f006eee 100644 --- a/pkg/cluster/https.go +++ b/pkg/cluster/https.go @@ -97,7 +97,7 @@ func (c *Cluster) initClusterAndHTTPS(ctx context.Context) error { } if c.config.EnablePProf { - mux := mux.NewRouter() + mux := mux.NewRouter().SkipClean(true) mux.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline) mux.HandleFunc("/debug/pprof/profile", pprof.Profile) mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)