Hello,
today I successfully managed to setup traefik as an ingress provider for all apps I've installed on my TrueNAS box. So far so good, I disliked the fact, that PiHole is only reachable, when calling it using the correct path (<domain>/admin). I tried to add a redirectRegex middleware to pihole, redirecting calls to the plain domain to <domain>/admin, but that results in a weird redirection loop when accessing it on a browser.
Apparently traefik responds with an invalid location, containing the port appended to the path. Even though the loop must come from an unexpected match in the regex, it puzzles me why the internal service port of pihole is appended to the path at all. The regex looks as follows:
Did I just overlook something obvious or might there be a bug within the redirectRegex function?
today I successfully managed to setup traefik as an ingress provider for all apps I've installed on my TrueNAS box. So far so good, I disliked the fact, that PiHole is only reachable, when calling it using the correct path (<domain>/admin). I tried to add a redirectRegex middleware to pihole, redirecting calls to the plain domain to <domain>/admin, but that results in a weird redirection loop when accessing it on a browser.