Hello, i got my certificate SSL configure and traefik are able to serve them to the client.
But, i would like to let the SSL traffic go to my containers (they also have the SSL certificate).
I try different ways but each witout any success.
Here is the label i use with my service
No success with this one
- traefik.http.routers.localhost-https.rule=HostRegexp(`{subdomain:[a-z0-9]+}.mydomain.com`)
- traefik.http.routers.localhost-https.entrypoints=https
- traefik.http.routers.localhost-https.service=localhost-https
- traefik.http.routers.localhost-https.priority=2
- traefik.http.routers.localhost-https.tls=true
- traefik.http.services.localhost-https.loadbalancer.passhostheader=true
- traefik.http.services.localhost-https.loadbalancer.server.port=443
- traefik.http.services.localhost-https.loadbalancer.server.scheme=https
No success with this one to
- traefik.http.routers.localhost-https.rule=HostRegexp(`{subdomain:[a-z0-9]+}.mydomain.com`)
- traefik.http.routers.localhost-https.entrypoints=https
- traefik.http.routers.localhost-https.service=localhost-https
- traefik.http.routers.localhost-https.priority=2
- traefik.http.routers.localhost-https.tls=true
- traefik.http.services.localhost-https.loadbalancer.passhostheader=true
#- traefik.http.services.localhost-https.loadbalancer.server.port=443
- traefik.http.services.localhost-https.loadbalancer.server.scheme=https
The only one with who i got success .. but do not reach our goal is this configuration
- traefik.http.routers.localhost-https.rule=HostRegexp(`{subdomain:[a-z0-9]+}.mydomain.com`)
- traefik.http.routers.localhost-https.entrypoints=https
- traefik.http.routers.localhost-https.service=localhost-https
- traefik.http.routers.localhost-https.priority=2
- traefik.http.routers.localhost-https.tls=true
- traefik.http.services.localhost-https.loadbalancer.passhostheader=true
- traefik.http.services.localhost-https.loadbalancer.server.port=80
#- traefik.http.services.localhost-https.loadbalancer.server.scheme=https
How could i let the traffic continue to my container in SSL ?
Thanks.