Added a new middleware to the traefik | pihole Kubernetes deployment.
This new middleware fixes the annoying 403 error you get when accessing pihole through traefik SSL
With this change you will no longer need to add /admin manually at the end of your domain.
This middleware is a simple regex that redirects anything hitting pihole.yourdomain.com to pihole.yourdomain.com/admin.
closed out previous branch as it had some unwanted code in it that I did not intend to include. Please review this new PR and let me know of your thoughts. Hope this helps!
Added a new middleware to the traefik | pihole Kubernetes deployment. This new middleware fixes the annoying 403 error you get when accessing pihole through traefik SSL
With this change you will no longer need to add /admin manually at the end of your domain. This middleware is a simple regex that redirects anything hitting pihole.yourdomain.com to pihole.yourdomain.com/admin.