Is it possible to configure a template for the body of 301 redirect responses?

Currently traefik returns the following body in a permanent redirect response.


Could this behavior be modified to be able to return a custom template?

I know that you can configure pages for the various 4xx or 5xx errors, as documented in the following link, but is this possible for http redirect status, such as 301 or 302?

Mu current configuration:

Thanks in advance.