noxxy
v1.1.2
Published
Fork of [Noxy](https://www.npmjs.com/package/http-proxy) (**NO**de pro**XY** ) is a small proxy server allowing to use http-proxy with a JSON config file.
Downloads
3
Readme
##Noxxy : Fork of Noxy (NOde proXY ) is a small proxy server allowing to use http-proxy with a JSON config file.
It allow for example to be used as a front proxy routing apps beetwen node.js, apache and nginx and support websockets.
NOXxY: 80 > Apache:8080 | node:1337
installation : npm install noxxy -g
Usage :
noxxy --help
noxxy -c myrouting.conf.json
Example configuration :
/**
* here is an example configuration for noxxy (NOde proXY)
*/
{
"server": {
"hostname" : "" // empty string to bind on everything
"port": 5050
},
"default": { "target": "http://localhost:8080" },
"domains": {
// key is regular expression pattern
".*/dev/.*": {
"rm": "/dev", // remove str from url
"target": "http://localhost:9090"
}
}
}