Fix host header mention in prometheus metrics doc
This commit is contained in:
parent
74daa4cbb3
commit
5cf1b95c29
1 changed files with 1 additions and 1 deletions
|
@ -235,4 +235,4 @@ traefik_entrypoint_requests_total{code="200",entrypoint="web",method="GET",proto
|
||||||
// For incoming requests, the Host header is promoted to the
|
// For incoming requests, the Host header is promoted to the
|
||||||
// Request.Host field and removed from the Header map.
|
// Request.Host field and removed from the Header map.
|
||||||
|
|
||||||
As a workaround, to obtain the Host of a request as a label, one should use instead the `X-Forwarded-For` header.
|
As a workaround, to obtain the Host of a request as a label, one should use instead the `X-Forwarded-Host` header.
|
||||||
|
|
Loading…
Reference in a new issue