I have a fairly typical (I think) traefik deployment on docker swarm.
command:
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.websecure.http.tls=true"
which means that normal services only need 3 labels to be exposed via https
labels:
- traefik.enable=true
- traefik.http.routers.${STACK_NAME-traefik}.rule=Host("traefik.${DOMAIN}")
- traefik.http.services.${STACK_NAME-traefik}.loadbalancer.server.port=8080
But now, I want to add step-ca as a service to my stack, and give it a vanity domain. Is it possible to have one SniHost(ca.${DOMAIN}) rule on websecure that just passes through the https traffic to the step-ca service to do its own termination?
(step-ca is an acme service that provides certificates, ultimately would be a source of on-prem certificates to both traefik and other consumers via the vanity url).
