Public Repository

Last pushed: 7 months ago
Short Description
A quick and dirty nginx-proxy
Full Description

Pass your hosts as srcport:desthost:destport tuples separated by semicolons to the PROXY environment var.

The startup script processes these and dumps them into virtual host configs. Multiple host:port combinations per srcport are allowed, and are load balanced under the same srcport.

Example

Load balance port 1234 to webserver1 port 8080, and webserver2 port 8080:
PROXY=1234:webserver1:8080;1234:webserver2:8080

Proxy port 1234 to webserver1 port 8080, and load balance port 5678 to webserver2 port 8080 and webserver3 port 9999
PROXY=1234:webserver1:8080;5678:webserver2:8080;5678:webserver3:9999

Docker Pull Command
Owner
dsea

Comments (0)