traefik dashboard

This commit is contained in:
Satria 2026-03-10 18:59:47 +07:00
commit 45ed24ca2c

View file

@ -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 = {
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;