certproxy

command
v4.15.9+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2019 License: GPL-3.0 Imports: 17 Imported by: 0

README

CertProxy

CertProxy is a TLS reverse proxy that is integrated with the autocert settings that are configured in the admin console. It allows arbitrary services to be served over HTTP with TLS added at the border.

The container will automatically apply for and renew LetsEncrypt certificates using the hostname and email address configured in the admin console. It can also be used with hardcoded certificates (set via certutils/setcert).

PLEASE NOTE: even if hardcoded certificates are being used, it is necessary to fill in the hostname in the autocert configuration in adminconsole so that the server knows what servername to advertise.

Configuration

Configuration is done via environment variables. An arbitrary number of routing rules may be defined as follows:

ROUTE_MYSERVICE=/the/url/prefix->the.internal.host:port
ROUTE_EXAMPLE=/example->123.123.123.1:8080

If there are multiple routes that overlap, the longest match will be applied. For example if the routes configured are:

ROUTE_A=/->plotter:80
ROUTE_B=/adminapi->adminapi:80

Then everything starting with adminapi will be longest-matched to the adminapi upstream servie but every other uri will be forwarded to the plotter service.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL