From 86c2526512cad011f5011e4f7a361f95b78d48ff Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Mon, 31 May 2021 14:59:16 -0400 Subject: [PATCH] cockpit --- compose/production/traefik/dynamic.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/compose/production/traefik/dynamic.toml b/compose/production/traefik/dynamic.toml index 04f29f5..b5e9b63 100644 --- a/compose/production/traefik/dynamic.toml +++ b/compose/production/traefik/dynamic.toml @@ -8,17 +8,17 @@ [tls.options.default] minVersion = "VersionTLS12" -#[http.services] -# [http.services.cockpit.loadBalancer] -# [[http.services.cockpit.loadBalancer.servers]] -# url = "http://10.2.3.1:9090" +[http.services] + [http.services.cockpit.loadBalancer] + [[http.services.cockpit.loadBalancer.servers]] + url = "http://127.0.0.1:9090" -#[http.routers] -# [http.routers.cockpit] -# rule = "Host(`cockpit.mistborn`)" -# service = "cockpit" -# entrypoints = ["web", "websecure"] -# middlewares = ["mistborn_auth"] +[http.routers] + [http.routers.cockpit] + rule = "Host(`cockpit.mistborn`)" + service = "cockpit" + entrypoints = ["web", "websecure"] + middlewares = ["mistborn_auth"] #[http.middlewares] # [http.middlewares.mistborn_auth.forwardAuth]