mirror of
https://github.com/traefik/traefik.git
synced 2025-11-29 06:31:16 +01:00
Fix host header mention in prometheus metrics doc
This commit is contained in:
parent
74daa4cbb3
commit
5cf1b95c29
@ -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…
x
Reference in New Issue
Block a user