0
將堅果上..節點http代理doesent路由到host.com,而不是[email protected]?
這
var app = express(),
proxy = new httpProxy.HttpProxy({
target: {
host: 'host.com',
port: 5280 // Port of XMPP server
}
});
..
// Proxy BOSH request to XMPP server
app.all('/http-bind', function(req, res) {
util.puts('Request successfully proxied: ' + req.url);
util.puts(JSON.stringify(req.headers, true, 2));
proxy.proxyRequest(req, res);
});
結果
身體排除= 「3965133021」 的xmlns =「http://jabber.org/protocol/httpbind「to =」[email protected]「..等
[email protected]?本地主機必須去,但不能得到它; 9
這怎麼可能?!它應該去host.com!花一個小時尋找嘗試,任何人都知道什麼是錯的?