Header middleware with path as variable

Hi there,

I am trying to achieve the following.

When a request is made to a particular URL on my website (Let's say abc.com/content/index.html). I want to send a response header with current path appended (Like X-my-custom-header: cba.com/content/index.html. Where cba.com is constant and the path varies depending on the user's current path). I checked the docs, couldn't find relevant features.


Yeah, nothing comes to mind. There is new traefik pilot to come out, that might help, but it is not out yet.