Updating the upgrading doc

Recently ran into a case where I had to upgrade the `http-proxy` version for an app, and that app was using a proxy table.

I'm not sure how many users are still using the 0.x.x version of `http-proxy`, but the added link (found from one of the GH issues) may encourage them to switch over to 1.x.x if they were using the old version due to its proxy table support and the activation energy to upgrade was too high.

I might release a module for this eventually, lol, since there was some work involved in creating a proxy table to map paths to paths for the same hostname.
This commit is contained in:
Don Mai 2015-10-18 01:12:19 -07:00
parent 302d981dd2
commit e666a4e07d

View File

@ -92,5 +92,6 @@ which were in the core and delegate them to eventual "userland" modules.
The new API makes it really easy to implement code that behaves like the old Middleware API. You can check some examples [here](https://github.com/nodejitsu/node-http-proxy/tree/caronte/examples/middleware) The new API makes it really easy to implement code that behaves like the old Middleware API. You can check some examples [here](https://github.com/nodejitsu/node-http-proxy/tree/caronte/examples/middleware)
### ProxyTable API
See this [link](http://blog.nodejitsu.com/node-http-proxy-1dot0/) for an example of how to add proxy table functionality using the new API.