Skip to content

Pi-hole 6 redirect #341

@hiyadragon

Description

@hiyadragon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions