I'm trying to create a TCP route in order to passthough tls:
registry:
image: registry:2
configs:
- source: registry-config
target: /etc/docker/registry/config.yml
secrets:
- source: registry-htpasswd
target: /auth/registry.password
mode: 0400
- source: registry-cert
target: /certs/domain.crt
mode: 0400
- source: registry-key
target: /certs/domain.key
mode: 0400
deploy:
labels:
- traefik.enable=true
- traefik.tcp.routers.registry.entrypoints=websecure
- traefik.tcp.routers.registry.rule=HostSNI(`registry.dind.localhost`)
- traefik.tcp.routers.registry.service=registry
- traefik.tcp.routers.registry.tls=true
- traefik.tcp.routers.registry.tls.passthrough=true
- traefik.tcp.services.registry.loadbalancer.server.port=5000
The underlying server is an https server.
Is it able to create a tcp route against an https server?