Redirect domain via regex does not work

Iˋm trying to redirect a domain to another but it doesnt work. I do not understand why :slight_smile:
Can you help me please?

I‘m using docker-compose with labels

      traefik.enable: "true" "weave" "https" "HostRegexp(``,``,`{subhost:[a-zA-Z0-9-]+}`)" "true" "letsencrypt" "dogs@docker"
      traefik.http.middlewares.dogs.replacepathregex.regex: "^https?://*)"
      traefik.http.middlewares.dogs.replacepathregex.replacement: "$$1" "80"

There are no errors in log or Dashboard . The connection between router and middleware is visible in the dashboard

Me stupid

I used replacepathregex instead of redirectregex.

(Insert facepalm here)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.