1.1.2 • Published 6 years ago

noxxy v1.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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