Skip to content

ColoradoDemography/node-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Proxy Server to serve gis.dola.colorado.gov content from multiple applications and ports.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published