@ryanburnette/express-hard-proxy
v1.1.1
Published
Create a hard proxy Middleware.
Downloads
5
Readme
express-hard-proxy
Middleware for making a hard proxy to something. It rewites the host header. It only supports HTTP. Its use should probably be avoided if possible.
It shouldn't be specific to Express, but I haven't tested that.
Express Example
var express = require('express')
var proxyTo = require('@ryanburnette/express-hard-proxy')
var app = express()
app.use(proxyTo('http://www.something.com'))
app.listen(3000)