The idea is, 1 route to App1 and another route to App2, both have ALB with SSL already setup, so using SSL passthrough
Unfortunately.. when I'm going to o.example.com, its showing j.example.com
My configs in traefik look as following
# traefik.yml
api:
insecure: true
entryPoints:
web:
address: :80
http:
redirections:
entryPoint:
to: web-secure
scheme: https
web-secure:
address: :443
providers:
file:
filename: "/etc/traefik/config.yml"
watch: true
# config.yml
tcp:
routers:
oapp:
rule: "HostSNI(`o.example.com`)"
service: oservice
tls:
passthrough: true
japp:
rule: "HostSNI(`j.example.com`)"
service: jservice
tls:
passthrough: true
services:
oservice:
loadBalancer:
servers:
- address: myapp1:443
jservice:
loadBalancer:
servers:
- address: myapp2:443