From f8e45a0b299e1c15e55e51117a3e121e66264fb5 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 15 May 2024 15:52:04 +0200 Subject: [PATCH] fix: doc consistency forwardauth --- docs/content/middlewares/http/forwardauth.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/content/middlewares/http/forwardauth.md b/docs/content/middlewares/http/forwardauth.md index 25b58480c..97e6a8fbe 100644 --- a/docs/content/middlewares/http/forwardauth.md +++ b/docs/content/middlewares/http/forwardauth.md @@ -300,7 +300,7 @@ labels: ``` ```yaml tab="Kubernetes" -apiVersion: traefik.containo.us/v1alpha1 +apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: test-auth @@ -316,13 +316,6 @@ spec: - "traefik.http.middlewares.test-auth.forwardauth.addAuthCookiesToResponse=Session-Cookie,State-Cookie" ``` -```toml tab="File (TOML)" -[http.middlewares] - [http.middlewares.test-auth.forwardAuth] - address = "https://example.com/auth" - addAuthCookiesToResponse = ["Session-Cookie", "State-Cookie"] -``` - ```yaml tab="File (YAML)" http: middlewares: @@ -334,6 +327,13 @@ http: - "State-Cookie" ``` +```toml tab="File (TOML)" +[http.middlewares] + [http.middlewares.test-auth.forwardAuth] + address = "https://example.com/auth" + addAuthCookiesToResponse = ["Session-Cookie", "State-Cookie"] +``` + ### `tls` _Optional_