Releases: vfarcic/docker-flow-proxy
Reload endpoint
Added the endpoint /reload
that reloads the proxy configuration.
EXTRA_FRONTEND
Added the EXTRA_FRONTEND
environment variable. Its value will be added to the default frontend configuration. See the Environment Variables section for more info.
Custom error messages
Added the ability to create custom error messages by overwriting the default files. See the Custom Errors section of the documentation for more info.
HTTPS forwarding
Added HTTPS (443) mapping as a separate parameter httpsPort
. It is the internal HTTPS port of a service that should be reconfigured. The port is used only in the swarm mode. If not specified, the port parameter will be used instead.
Wildcard domains
Domains can be prefixed with a wildcard.
...
--label "com.df.serviceDomain=*domain.com" \
...
The above example would match any domain ending with domain.com
(e.g. my-domain.com
, my-other-domain.com
, etc).
Templates, Outbound Host, Certificate Request
Templates
Added templateFePath
and templateBePath
reconfigure parameters. They allow custom Swarm templates.
Outbound host
Added outboundHostname
reconfigure parameter. It represents the hostname where the service is running, for instance on a separate swarm. If specified, the proxy will dispatch requests to that domain.
The outbound hostname feature is useful when the proxy is not part of the swarm. In a large corporate network setting, swarms may be regularly decommissioned and re-created, but external parts integrating with the swarms can not be reconfigured.
Certificate Request
Certificates can now be added through the serviceCert
reconfigure parameter. It contains content of the PEM-encoded certificate to be used by the proxy when serving traffic over SSL.
Rewriting Paths
See Rewriting Paths section of the documentation for more info.
Multi-domain support
Support for multiple domains has been added. Values of the serviceDomain
parameter can be separated with comma (,
).
Basic authentication
Basic authentication was added. It can be applied to all services through the proxy
environment variable USERS
or on the service level through the reconfigure
parameter users
.
Examples can be found in the Basic Authentication section of the Swarm Mode (Docker 1.12+) With Automatic Configuration documentation.
Stats user/pass environment variables
The following environment variables were added:
- STATS_USER
- STATS_PASS
They can be used to change the default username and password for the statistics page.
Please consult the Container Config section for more info.