Skip to content

Commit

Permalink
Add xfwd parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Andaverde committed Jun 25, 2014
1 parent 0dac2aa commit 385e4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dynamicProxy.js
Expand Up @@ -3,7 +3,7 @@ var httpProxy = require("http-proxy"),

var DynamicProxy = module.exports = function () {
this.routes = {};
this.proxy = httpProxy.createProxyServer();
this.proxy = httpProxy.createProxyServer({xfwd: true});
this.proxy.on("error", _onProxyError.bind(this));
};

Expand Down

0 comments on commit 385e4e3

Please sign in to comment.