noxxy

1.1.2 • Public • Published

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" 
        }
    }
}
 

Package Sidebar

Install

npm i noxxy

Weekly Downloads

0

Version

1.1.2

License

ISC

Last publish

Collaborators

  • avil13