Automatically append /admin to requests to the route

This commit is contained in:
Joey Hafner 2022-07-13 23:06:45 -07:00
parent e7f6581ced
commit af7ed80074

View File

@ -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: