I have a service that has these labels
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.${STACK}-app.rule=Host(`${STACK}.${DOMAIN}`)"
- "traefik.http.routers.${STACK}-app.entrypoints=websecure"
- "traefik.http.routers.${STACK}-app.tls.certresolver=myresolver"
- "traefik.http.services.${STACK}-app.loadbalancer.server.port=3000"
when I start this stack, if I use SSL Server Test (Powered by Qualys SSL Labs) to validate, I get a big fat A
I now wanted to add a TCP port in the same server (express) for certain command/control
so I added the labels (to the same container)
- "traefik.tcp.routers.${STACK}-app.rule=HostSNI(`${STACK}-socket.${DOMAIN}`)"
- "traefik.tcp.routers.${STACK}-app.entrypoints=websecure"
- "traefik.tcp.routers.${STACK}-app.tls.certresolver=myresolver"
- "traefik.tcp.services.${STACK}-app.loadbalancer.server.port=42000"
so the idea is that I'd get 2 hosts stack.domain and stack-socket.domain
system starts, service starts. however, if I visit the ssl site again, I now get a big fat F for the stack-socket.domain host
confused why https is A while TCP is F
Any insights would be most welcome