Route domain to a specific path

I want to redirect eg. http://service:3001/status/all to a domain name but i have no idea how to do that in traefik. I only see examples using PathPrefix but that is not what i want.

Here are my docker labels i use for the service:

      traefik.http.routers.uptime-kuma.service: uptime-kuma
      traefik.http.routers.uptime-kuma.entrypoints: web,websecure
      traefik.http.routers.uptime-kuma.rule: Host(`domain.tld`)
      traefik.http.routers.uptime-kuma.tls: true
      traefik.http.routers.uptime-kuma.tls.certresolver: production 3001

Create a router to match the request, then create a RedirectRegex middleware to redirect any request.