Skip to content

Releases: vfarcic/docker-flow-proxy

Automatic certs loading

26 Feb 23:39
Compare
Choose a tag to compare

All certificates located in the /certs directory are now loaded automatically. This feature makes the CERTS environment variable deprecated.

serviceDomainMatchAll reconfigure parameter

26 Feb 20:39
Compare
Choose a tag to compare

Added serviceDomainMatchAll reconfigure parameter that allows to include subdomains and FDQN domains in the match.

Please see the serviceDomainMatchAll parameter in the reconfigure section of the documentation.

fromListener and recreate params for the reload request

24 Feb 01:28
Compare
Choose a tag to compare

Added the feature to recreate the config during the reload request. Config can be recreated through recreate and fromListenerparams. The first param recreates config from memory while the second fetches data from Docker Flow Swarm Listener. Please consult Reload section of the documentation for more info.

Secrets suport

20 Feb 21:47
Compare
Choose a tag to compare

Support for Docker secrets has been added. Any environment variable can be overwritten by a secret.

Please read the Secrets section of the documentation for more info.

Proxy Statistics section contains an example.

EXTRA_GLOBAL environment variable

12 Feb 20:29
Compare
Choose a tag to compare

Added support for extra text for the global config section. Please take a look at the EXTRA_GLOBAL variable in the Configuring Docker Flow Proxy documentation.

timeoutServer and timeoutTunnel reconfigure parameters

17 Jan 21:20
Compare
Choose a tag to compare

Added timeoutServer and timeoutTunnel reconfigure parameters. For more info, please consult the Usage documentation.

TIMEOUT_TUNNEL env. variable

17 Jan 20:13
Compare
Choose a tag to compare

Added environment variable TIMEOUT_TUNNEL that provide the ability to change the default value of the timeout tunnel configuration. Please see the configuration page for more info.

httpsOnly

16 Jan 21:05
Compare
Choose a tag to compare

A new reconfigure parameter httpsOnly was added. If set to true, HTTP requests to the service will be redirected to HTTPS.

TCP Requests Support

06 Jan 23:02
Compare
Choose a tag to compare

Added reqMode parameter that allows tcp configurations.

Please read the Reconfigure section for the parameters usage and the Using TCP Request Mode section of the Docker Flow: Proxy - Swarm Mode (Docker 1.12+) With Automatic Configuration article for an example.

Multiple destinations & templates documentation

30 Dec 00:57
Compare
Choose a tag to compare

Multiple Destinations

Multiple destinations for a single service can be specified by adding index as a suffix to servicePath and port parameters. In that case, srcPort is required. Defining multiple destinations is useful in cases when a service exposes multiple ports with different paths and functions.

An example request is as follows.

<PROXY_IP>:<PROXY_PORT>/v1/docker-flow-proxy/reconfigure?serviceName=foo&servicePath.1=/&port.1=8080&srcPort.1=80&servicePath.2=/&port.2=8081&srcPort.2=443

The command would create a service foo that exposes ports 8080 and 8081. All requests coming to proxy port 80 with the path that starts with / will be forwarded to the service foo port 8080. Equally, all requests coming to proxy port 443 (HTTPS) with the path that starts with / will be forwarded to the service foo port 8081.

Indexes are incremental and start with 1.

Templates Documentation

Added documentation about the usage of front-end and back-end templates.