routing-proxy
v0.1.0
Published
route http requests to servers based on url path
Downloads
12
Readme
routing-proxy
route http requests to servers based on url path
stability
currently used as a dev tool. use in production at your own risk.
usage
var http = require('http')
var RoutingProxy = require('routing-proxy')
http.createServer(RoutingProxy()
.add('http://localhost:8009',
'/',
)
.add('https://localhost:8008',
'/api*',
'/socket.io*',
'/login',
'/logout'
)
.add('http://localhost:8081',
'*'
)
.router())
.listen(8000)contributors
jden [email protected]
license
MIT. (c) 2013 Agile Diagnosis [email protected]. See LICENSE.md
