nodejitsu/node-http-proxy — Issue #170: How to route specific resource?
Author: outaTiME
Created: 2011-12-24 15:52:47+00:00
State: open

Hi guys, it possible to route something like this ...

im using routing table ... complete example :

```javascript
var util = require("util"),
colors = require("colors"),
http = require("http"),
httpProxy = require("http-proxy");

httpProxy.createServer({
router: {
// 'localhost': 'localhost:9000',
'localhost/images/badge.png': 'http://web.foo.com/services/badge.php'
}
}).listen(8001);
```

thks !!