From 45ed24ca2c2da20fe8c8333544bb23db608b8045 Mon Sep 17 00:00:00 2001 From: Satria Date: Tue, 10 Mar 2026 18:59:47 +0700 Subject: [PATCH] traefik dashboard --- modules/system/homelab/proxy.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index 5cf316c..b96aa54 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -5,7 +5,7 @@ "router" = { dest = "http://router.dns.${homelab.domain}:80"; auth = false; }; "home" = { dest = "http://home.dns.${homelab.domain}:8123"; auth = false; }; - # "dynamic" = { dest = "http://127.0.0.1:8080"; auth = true; }; + "dynamic" = { dest = "http://127.0.0.1:8082"; auth = true; }; "dns" = { dest = "http://localhost:8088"; auth = true; }; "containers" = { dest = "http://localhost:5001"; auth = false; }; @@ -93,14 +93,17 @@ in { traefik = { enable = true; staticConfigOptions = { - entryPoints.web = { - address = "127.0.0.1:81"; - forwardedHeaders.trustedIPs = [ "127.0.0.1/32" ]; + entryPoints = { + traefik.address = "127.0.0.1:8082"; + web = { + address = "127.0.0.1:81"; + forwardedHeaders.trustedIPs = [ "127.0.0.1/32" ]; + }; + }; + api = { + dashboard = true; + insecure = true; }; - # api = { - # dashboard = true; - # insecure = true; - # }; global = { checkNewVersion = false; sendAnonymousUsage = false;