This allows you to specify what the target path should be passed just the hostname.
Enable passing through the target path to the pathnameOnly proxy
I need this functionality too - will it be merged?
More specifically, what I need is to proxy requests based on path names to different servers without modifying the path. AFAICS the removal of the path part is hard-coded to the current implementation.
If that's already possible somehow without this patch, please let me know.
Nevermind - I found a solution for my use case in the following comment:
We're dropping the ProxyTable in email@example.com. If you want to take ownership of it proxy-table is available on npm! :-D