From e666a4e07d30f287041567497dda0a49988d151b Mon Sep 17 00:00:00 2001 From: Don Mai Date: Sun, 18 Oct 2015 01:12:19 -0700 Subject: [PATCH] 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. --- UPGRADING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UPGRADING.md b/UPGRADING.md index c28bbfe..0e89427 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -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) +### 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.