I am following the https://docs.traefik.io/configuration/commons/#custom-error-pages instructions inside a docker swarm, which I've gotten working.
Now, I'd like to set the custom error page based on the original path requested. So, for example. I got an incoming request for
I'd want the resulting redirect query to function like this:
This would mean, the request to the error backend would be something like...