reverse_proxy_plug icon indicating copy to clipboard operation
reverse_proxy_plug copied to clipboard

Add preserve request path option

Open jimmybot opened this issue 2 years ago • 0 comments
trafficstars

Add an option :preserve_request_path

reverse_proxy_plug currently maps url paths so that the original directory at
which the route is mounted is not passed over to the destination server

This new option preserve_request_path allows for the original directory to be
passed back so that the destination server receives the full original request
path

For example, if the option is set to true and ReverseProxyPlug were mounted at
a route '/abc' and a request came in as '/abc/123', the destination server
would be requested '/abc/123' and not '/123'

jimmybot avatar Dec 28 '22 05:12 jimmybot