Hi,
I user Traefik 2.2.11 with Docker to host about 15 of my projects.
Everything works fine except of one container.
This one sometimes responds with a port number 80 even though the request was made over https port 443.
I setup a redirect-to-https file provider which is used by all my projects
middlewares:
redirect-to-https:
redirectScheme:
scheme: https
permanent: true
The container in question uses the following labels:
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_backend"
- "traefik.http.routers.xentral_insecure.entrypoints=web"
- "traefik.http.routers.xentral_insecure.rule=Host(`xentral.my.domain`)"
- "traefik.http.routers.xentral_insecure.middlewares=redirect-to-https@file"
- "traefik.http.routers.xentral.entrypoints=web-secure"
- "traefik.http.routers.xentral.rule=Host(`xentral.my.domain`)"
- "traefik.http.routers.xentral.tls.certresolver=default"
- "traefik.http.services.xentral.loadbalancer.server.port=80"
When I request https://xentral.my.domain/www/index.php sometimes it redirects me to
https://xentral.my.domain:80/www.index.php which of course does not exist.
Shouldn't redirectSchema also redirect this request from 80 to 443?
Do I need another extenstion to prevent such port issues?