In the Traefik ECS provider, is there a way to rewrite the Host header using dockerLabels?
For example, If the request comes to https://abc.example.com, can I rewrite it to https://abc-123.example.com. In other words, I just want to append -123 to the hostname of the FQDN.
# Redirect with domain replacement
# Note: all dollar signs need to be doubled for escaping.
labels:
- "traefik.http.middlewares.test-redirectregex.redirectregex.regex=^http://abc.example.com/(.*)"
- "traefik.http.middlewares.test-redirectregex.redirectregex.replacement=http://abc-123.example.com/$${1}"