timothystewart6 / timothystewart6/techno-tim.github.io
Pi-hole 6 redirect
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.2k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
With the release of pi-hole 6 the redirect to /admin is now handled by pi-hole itself. the redirect middlewares are not needed for version 6 but still needed for version 5. Also need to set your webserver.domain in the pihole .toml file or from the gui in the Webserver and API settings, since it's set to pi.hole as default.
Changes to the traefik config.yml commented out the prefix and redirect
pihole:
entryPoints:
- "https"
rule: "Host(pihole.local.example.com)"
middlewares:
# - redirectregex-pihole
- default-headers
# - addprefix-pihole
- https-redirectscheme
tls: {}
service: pihole
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Traefik config.yml pihole router shown in the issue and review how its redirectregex-pihole and addprefix-pihole middlewares are applied. Update the example for Pi-hole 6 while preserving the stated Pi-hole 5 requirement, and verify that webserver.domain is configured rather than left at the pi.hole default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100