Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junosuarez/routing-proxy
npm module: proxy http requests to various servers based on request url
https://github.com/junosuarez/routing-proxy
Last synced: 8 days ago
JSON representation
npm module: proxy http requests to various servers based on request url
- Host: GitHub
- URL: https://github.com/junosuarez/routing-proxy
- Owner: junosuarez
- License: mit
- Created: 2013-05-01T19:17:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-01T19:29:07.000Z (over 11 years ago)
- Last Synced: 2024-09-23T13:06:29.394Z (about 2 months ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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
## license
MIT. (c) 2013 Agile Diagnosis . See LICENSE.md