Skip to content

ChoqueCastroLD/node-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-reverse-proxy

A nodejs http reverse proxy implementation

config.js example

module.exports = {
	"fallback": "http://127.0.0.1:3000",
	"domains":{
		// Domain
		"luischoque.com": {
			// Subdomains : Local Address
			"": "http://127.0.0.1:3000",
			"www":  "http://127.0.0.1:3000",
			"api": "http://127.0.0.1:4000"
		},
		// Domain
		"mysecretdomain.com": {
			// Subdomains : Local Address
			"": "http://127.0.0.1:5000",
			"www":  "http://127.0.0.1:5000",
			"api": "http://127.0.0.1:6000"
		}
	}
}

About

A nodejs http reverse proxy implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published