my config
defaultEntryPoints = ["https", "http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[entryPoints.dashboard]
address = ":8080"
[api]
entryPoint = "dashboard"
address = ":8080"
readOnly=true
dashboard = true
[ecs]
clusters = ["my-api"]
watch = true
domain = "domain.xyz"
autoDiscoverClusters = false
refreshSeconds = 15
exposedByDefault = true
region = "ap-south-1"
accessKeyID = "abcd"
secretAccessKey = "acbd+acbd+323+/+cdecb"
[acme]
email = "you@email.com"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
[accessLog]
and Route Rule
Host:my-api.domain.xyz works with http which listens on host port 80 and serves from container port 3333
but visiting https://my-api.domain.xyz fails to proxy to 3333. I guess I should be doing a proxy protocol here. I do have acme certificates issued in acme.json
.
any pointers on what I'm missing?