From 6ca6d676d8938f3caf599a0e088906e89efc86ab Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 22 Oct 2024 10:16:48 +0200 Subject: [PATCH] traefik: display the user agent in the access logs --- k3s-host/traefik.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k3s-host/traefik.yml b/k3s-host/traefik.yml index 77685d2..64119f0 100644 --- a/k3s-host/traefik.yml +++ b/k3s-host/traefik.yml @@ -26,3 +26,8 @@ spec: logs: access: enabled: true + fields: + headers: + # https://github.com/traefik/traefik-helm-chart/blob/v25.0.0/traefik/values.yaml#L304-L308 + names: + User-Agent: keep