diff --git a/app/vmagent/main.go b/app/vmagent/main.go
index 6190d9ed9..384de4c11 100644
--- a/app/vmagent/main.go
+++ b/app/vmagent/main.go
@@ -154,6 +154,7 @@ func requestHandler(w http.ResponseWriter, r *http.Request) bool {
if r.Method != "GET" {
return false
}
+ w.Header().Add("Content-Type", "text/html; charset=utf-8")
fmt.Fprintf(w, "
vmagent
")
fmt.Fprintf(w, "See docs at https://docs.victoriametrics.com/vmagent.html")
fmt.Fprintf(w, "Useful endpoints:")
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 125c85613..3499d2b3e 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -14,6 +14,7 @@ The following tip changes can be tested by building VictoriaMetrics components f
## tip
+* BUGFIX: return `Content-Type: text/html` response header when requesting `/` HTTP path at VictoriaMetrics components. Previously `text/plain` response header was returned, which could lead to broken page formatting. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2323).
## [v1.75.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.75.0)