http-redirect
v0.0.7
Published
proxy requests to an ip-address or url
Downloads
83
Readme
http-redirect
(c)Bumblehead, 2012,2013 MIT-license
OVERVIEW:
proxy or redirect requests to an ip-address or url
INSTALL:
objobjwalk may be downloaded directly or installed through npm
.
- npm
$ npm install http-redirect
- Direct Download
$ git clone https://github.com/iambumblehead/http-redirect.git
$ cd http-redirect && npm install
GET STARTED:
Use http-redirect with express. Request a page on localhost:12345.
var express = require('express'),
HTTPRedirect = require('http-redirect'),
app = express();
HTTPRedirect.addExpressProxy(app, 'www.cryptogon.com', 80);
app.listen(12345);
console.log('begin proxy';)