0.1.4 • Published 11 years ago

seafish-http-proxy-meteor v0.1.4

Weekly downloads
29
License
-
Repository
-
Last release
11 years ago

forked from nodejitsu/node-http-proxy

Add ability to change response script and link relative url when proxy

Add this ability for meteor in this moment (version 0.6.4 still not support ROOT_URL, so I change proxy code to avoid this problem)

usage:

var httpProxy = require('http-proxy');

var options = {
  replaceRelativePath: true,
  pathnameOnly: true,
  router: {
    '/wiki': '127.0.0.1:8001',
    '/blog': '127.0.0.1:8002',
    '/api':  '127.0.0.1:8003'
  }
}

var proxyServer = httpProxy.createServer(options);
proxyServer.listen(80);
0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago