301 redirect / URL forwarding

Hello,

I would like to replicate this 301 redirect in Traefik because Cloudflare only allows 3 of those.

I have an A record that points "redirect.mydomain.com" to the IP that my Traefik runs on. I tried a lot of combinations using a RedirectRegex, but couldn't get it to work. How would the correct RedirectRegex have to look?

Hi @martinjgrunwald,
Thanks for your interest in Traefik.

Which orchestrator are you using and with which tool (docker, docker-compose, k8s, ...)? Just to provide you something relevant for your use case.

Thanks,
Maxence

I use docker-compose to set up traefik and the configuration is done in a static and a dynamic toml