Public | Automated Build

Last pushed: 10 days ago
Short Description
Proxy for gis.dola.colorado.gov
Full Description

node-proxy

Despite the monikor, uses the Redbird library to proxy multiple Docker container services to a single port 443 with SSL.

To add a container to the proxy, add a line to the end of the file like so:

redbird.register('gis.dola.colorado.gov/sd', 'http://sdapi:4006', {ssl: true});

The only moving parts to this line of code are:

/sd

The URL directory path where all your addresses will be located. So, if in your api you specified a route '/lookups?', then it will now be publicly accessible (with SSL) through /sd/lookups?

sdapi

This is the container name you specify in your 'docker run...' command.

4006

This is the port that the container is running on. It does not have to be an open port (since it will be proxied to 443).

Docker Pull Command
Owner
codemog
Source Repository