-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
So, here's my issue. I have Traefik running elsewhere, and it's configured to use the file backend, instead of the docker backend.
Browsing to https://<domain>/login
displays properly, but browsing to https://<domain>
redirects me back to http://<domain>
(because it's trying to redirect me to /login
):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="https://github.com/login?next=%2F">/login?next=%2F</a>. If not click the link.
Even when browsing to https://<domain>/login
(where the page loads fine, I can't do anything, because when I do, it keeps redirecting me back to HTTP
. So every time it goes back to HTTP
, I just add an S
and I can get that page to load (until I click something else), and the process keeps repeating.
I tried to fix this in Traefik (by redirecting HTTP
to HTTPS
), but then I get the "Too Many Redirects" message.
I think it would be a great idea to add a URL option in the config so we can add the full domain (https://<domain>
) to the config, and the redirect would use it. Or at least be able to tell it to use HTTPS instead of HTTP (HTTPS=true
) or something.
Thoughts? I mean, if I missed something that already fixes this issue, please let me know.