From 3267aaf3de9dcf653ec03b86842df129e5d52aa1 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Mon, 31 May 2021 15:08:52 -0400 Subject: [PATCH] middleware --- compose/production/traefik/dynamic.toml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/compose/production/traefik/dynamic.toml b/compose/production/traefik/dynamic.toml index b5e9b63..87a5bcb 100644 --- a/compose/production/traefik/dynamic.toml +++ b/compose/production/traefik/dynamic.toml @@ -18,14 +18,8 @@ rule = "Host(`cockpit.mistborn`)" service = "cockpit" entrypoints = ["web", "websecure"] - middlewares = ["mistborn_auth"] + middlewares = ["mistborn_auth@docker"] -#[http.middlewares] -# [http.middlewares.mistborn_auth.forwardAuth] -# address = "http://10.2.3.1:5000/auth/" -# trustForwardHeader = true -# [http.middlewares.mistborn_auth.forwardAuth.tls] -# insecureSkipVerify = true - +[http.middlewares] [http.middlewares.mistborn_headers.headers] hostsProxyHeaders = ['X-CSRFToken'] \ No newline at end of file