Secondary domain(s) with redirect to primary domain

Hi @ldez,
thank you very much, after updating the regex it basically worked. I just had to do two minor adjustments:

Replaced the line

- "traefik.http.routers.rweb.rule=Host(`host.domain.com`)"

with

- "traefik.http.routers.rweb.rule=Host(`host.domain.com`,`secondary.domain.com`)"

so that the redirect is also active for http:// on the second domain.

Replaced the line

      - "traefik.http.middlewares.redirect_regex.redirectregex.replacement=https://host.domain.com$${1}"

with

      - "traefik.http.middlewares.redirect_regex.redirectregex.replacement=https://host.domain.com$${2}"

so that the path after the domain is added to the redirect target instead of the hostname / domain prefix.

Other than that, your config works perfectly fine for me.
That's why I marked it as a solution.

Thank you very much!