--- Revision None +++ Revision 333433626264 @@ -0,0 +1,13 @@ +var httpProxy = require('http-proxy'); +// +// Create a proxy server with custom application logic +// +httpProxy.createServer(function (req, res, proxy) { + // + // Put your custom server logic here + // + proxy.proxyRequest(req, res, { + host: 'jan.iriscouch.com', + port: 5984 + }); +}).listen(8000);