Hi ,
I'm trying to use loadBalancer with a HTTPS entryPoint (with File provider).
Eg: I would like to be redirect from https://subdomain.example.foobar.io
to mydomain.io
A part of traefik.yml
file
...
entryPoints:
http:
address: ":80"
https:
address: ":443"
A part of config.yml
file
http:
routers:
traefik:
rule: "Host(`subdomain.traefik.foobar.io`)"
service: "api@internal"
tls:
domains:
- main: "foobar.io"
sans:
- "subdomain.*. foobar.io"
extension:
rule: "Host(`subdomain.example.foobar.io`)"
service: "my-service"
services:
my-service:
loadBalancer:
servers:
- url: "mydomain.io"
This works for http://subdomain.example.foobar.io
but not for https://subdomain.example.foobar.io
I have 404 page not found
(even if I replace mydomain.io
by à https://google.com`).
Do you have any suggestion about this ?
Thank you in advance for your help