0.1.2 • Published 9 years ago

podproxy v0.1.2

Weekly downloads
3
License
GPL-2.0
Repository
github
Last release
9 years ago

podproxy

Not yet tested at all. Careful if you pull.

This is a proxy that automatically pulls information from your .podrc configuration file and grabs the names and assigned ports. All requests to the newly spawned proxy server will be forwarded to the appropriate server.

Usage

npm install podproxy

Configuration

# Uses environmental PORT variable, or defaults to port 80.
var server = require('podproxy');

var options = {
		host: {
			username: 'admin',
			password: 'admin',
			location: '127.0.0.1',
			port: '19999'
		},
		interval: 20000, # How often to check for updated config.
		static_routes: {
			logs: 8888,
			proxy: 8000 # if you use the gui,
			web: 19999 # pod web services
		}
	};
	
server(options);

Updated November 1, 2015 - Mike Kozak

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago