1.1.1 • Published 7 years ago

@ryanburnette/express-hard-proxy v1.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

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)
1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago