Connecting with Traefik TCP using server-side TLS/SSL
I spent 5 hours struggling with this. I was trying to use HTTP, but it just wouldn't work. When you connect over TLS, Traefik takes care of the connection, so i
GGAMI
I spent 5 hours struggling with this. I was trying to use HTTP, but it just wouldn't work.
- "traefik.tcp.routers.web_secure-tcp.rule=HostSNI(`domain.com`, `domain-dev.com`)"
- "traefik.tcp.routers.web_secure-tcp.entrypoints=websecure"
- "traefik.tcp.routers.web_secure-tcp.tls.passthrough=true"
- "traefik.tcp.services.web_secure-tcp.loadbalancer.server.port=1234"When you connect over TLS, Traefik takes care of the connection, so it works even in an environment where the backend server uses its own SSL!