nodejitsu/node-http-proxy — Issue #155: Problem Error: listen EACCES 
Author: maykon
Created: 2011-11-11 18:06:08+00:00
State: open

I want deploy my node app in port 80 that run Apache Server, than I configure the node-http-proxy to run in the same domain but in another path. My code is follow:

var proxyOptions = {
hostnameOnly: true,
router: {
'localhost/validador': '127.0.0.1:3000'
}
};

var proxyServer = httpProxy.createServer(proxyOptions);
proxyServer.listen(80);
app.listen(3000);