Skip to content

Commit

Permalink
replaced pihole addprefix with a redirectregex (techno-tim#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
BladeWDR authored May 13, 2023
1 parent 6c96d89 commit 4350062
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/traefik/data/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ http:
passHostHeader: true
#endregion
middlewares:
addprefix-pihole:
addPrefix:
prefix: "/admin"
pihole-redirect:
redirectRegex:
regex: "^https?://pihole.local.example.com/$"
replacement: "https://pihole.local.example.com/admin/"
https-redirect:
redirectScheme:
scheme: https
Expand Down

0 comments on commit 4350062

Please sign in to comment.