noxxy

v1.1.2
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.
proxy http websockets server

##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" 
        }
    }
}
npm i noxxy

Metadata

  • ISC
  • Whatever
  • avil13
  • released 12/6/2017

Downloads

Maintainers