im using following code for http-proxy:
var httpProxy = require('http-proxy');
var options = {
router: {
'url1.com': '127.0.0.1:3000',
'url2.com': '127.0.0.1:3001'
}
};
httpProxy.createServer(options).listen(80);
My question is, can i update the routetable dynamically? Without shuting down proxy server?
Thx for answers