URL Rewrites ala Nginx Location Rewrite

Using the request-transformer plugin is a good way to modify the upstream request.

To do so in a custom plugin, see this post. (and why there isn’t any extensive documentation about it.)