Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi-hole 6 redirect #341

Open
hiyadragon opened this issue Feb 28, 2025 · 0 comments
Open

Pi-hole 6 redirect #341

hiyadragon opened this issue Feb 28, 2025 · 0 comments

Comments

@hiyadragon
Copy link

hiyadragon commented Feb 28, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant