Automatically append /admin to requests to the route
This commit is contained in:
parent
e7f6581ced
commit
af7ed80074
@ -20,8 +20,9 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- traefik.http.routers.pihole.rule=Host(`pihole.jafner.net`)
|
- traefik.http.routers.pihole.rule=Host(`pihole.jafner.net`)
|
||||||
- traefik.http.routers.pihole.tls.certresolver=lets-encrypt
|
- 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.services.pihole.loadbalancer.server.port=80
|
||||||
|
- traefik.http.middlewares.pihole.addprefix.prefix=/admin
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user