From af7ed80074878e58b15568eff96ffddd6c5fd83c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 13 Jul 2022 23:06:45 -0700 Subject: [PATCH] Automatically append /admin to requests to the route --- server/config/pihole/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/config/pihole/docker-compose.yml b/server/config/pihole/docker-compose.yml index f3785c5..af43b0a 100644 --- a/server/config/pihole/docker-compose.yml +++ b/server/config/pihole/docker-compose.yml @@ -20,8 +20,9 @@ services: labels: - traefik.http.routers.pihole.rule=Host(`pihole.jafner.net`) - traefik.http.routers.pihole.tls.certresolver=lets-encrypt - - traefik.http.routers.pihole.middlewares=lan-only@file + - traefik.http.routers.pihole.middlewares=lan-only@file,pihole - traefik.http.services.pihole.loadbalancer.server.port=80 + - traefik.http.middlewares.pihole.addprefix.prefix=/admin networks: - web ports: