From 78391c5b809cbd5992a5ff81810abb25ba5f9ef8 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sat, 6 Aug 2022 10:29:40 -0700 Subject: [PATCH] #42 Fix mis-organized middleware --- server/config/traefik/config/middlewares.yaml | 4 +++- server/config/traefik/config/pihole.yaml | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/server/config/traefik/config/middlewares.yaml b/server/config/traefik/config/middlewares.yaml index 6a6ca53..10320eb 100644 --- a/server/config/traefik/config/middlewares.yaml +++ b/server/config/traefik/config/middlewares.yaml @@ -43,4 +43,6 @@ http: stsIncludeSubdomains: true stsSeconds: 63072000 stsPreload: true - + pihole: + addprefix: + prefix: "/admin" \ No newline at end of file diff --git a/server/config/traefik/config/pihole.yaml b/server/config/traefik/config/pihole.yaml index 350e880..fbb1032 100644 --- a/server/config/traefik/config/pihole.yaml +++ b/server/config/traefik/config/pihole.yaml @@ -8,11 +8,6 @@ http: tls: certResolver: "lets-encrypt" - middlewares: - pihole: - addprefix: - prefix: "/admin" - services: pihole: loadBalancer: