I have been using node-http-proxy to proxy requests to different web services. IE
"/api" : "127.0.0.1:8020",
"/report" : "127.0.0.1:8021"
So I made that simple to do by adding a pathnameOnly flag similar to hostnameOnly.
pathnameOnly flag added. Ignores hostname and applies routing table t…
…o the paths being requested.
pathnameOnly option documented in the Readme.md
[doc] added comments to pathnameOnly block.