-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
This simple proxy server
var httpProxy = require('http-proxy');
httpProxy.createServer(function (req, res, proxy) {
var options = {
host: "localhost",
port: 5984
};
proxy.proxyRequest(req, res, options);
}).listen(5000);
if i change host:"localhost" to host:"subdomain.domainoninternet.com"
if get 'Host not found' back, is this the "www . host" issue? #150
on a related question, is there a way to set request headers before they are sent to destination? (to set Auth headers from the server)
thank you
Metadata
Metadata
Assignees
Labels
No labels