You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the traefik documentation and configured a container with entry points for http and https named the same way.
I configured some container labels and then attempted to access the container via curl -I http://whoami.domain.com which resulted in 404. Then I tried curl -I https://whoami.domain.com and it worked just fine.
I tried to configure a global redirection (as mentioned in the docs and the redirection worked. However this enforces TLS globally on ALL ingresses which is not what I'd like.
NOTE: I noticed if you set traefik.http.routers.whoami.tls=false the redirection middleware starts working fine and redirects to https, but then the https entry point gives 404 (which is probably expected?)
What did you expect to see?
The http entry point should have redirected to https using the configured middleware.
The dashboard shows it's detecting everything properly:
If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
Log is huge since Traefik is used as a proxy and a lot of traffic comes in.
Maybe if you give me hints on what to look for I could gather more data and update.
The text was updated successfully, but these errors were encountered:
Hi! I'm Træfiker 🤖 the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
Do you want to request a feature or report a bug?
Bug (related community topic)
What did you do?
http
andhttps
named the same way.curl -I http://whoami.domain.com
which resulted in404
. Then I triedcurl -I https://whoami.domain.com
and it worked just fine.NOTE: I noticed if you set
traefik.http.routers.whoami.tls=false
the redirection middleware starts working fine and redirects tohttps
, but then thehttps
entry point gives404
(which is probably expected?)What did you expect to see?
The
http
entry point should have redirected to https using the configured middleware.What did you see instead?
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
The dashboard shows it's detecting everything properly:
If applicable, please paste the log output in DEBUG level (
--log.level=DEBUG
switch)Log is huge since Traefik is used as a proxy and a lot of traffic comes in.
Maybe if you give me hints on what to look for I could gather more data and update.
The text was updated successfully, but these errors were encountered: