But as soon as you start messing with the "/foo/bar" part and tack
on/remove a prefix, things break.
This should be of no surprise, because reverse proxies can only
translate the actual URL of the request clients are doing, but they
typically don't rewrite XML bodies and HTTP headers to update relative uris.