This addon provide a Caddy Proxy with multiple vhost support and automatic ssl (obtention and renewal). It should be a easier option than the nginx_proxy and certbot addons.
The simplier way to use it is just to set your external address in the homeassistant field.
This is a shortcut to set a proxy for homeassistant. If this option is set to "homeassistant.domain.tld" it will set a proxy from https://homeassistant.domain.tld to homeassistant:8123.
This list describe all the virtual host to be proxified. It must be set to have a valid configuration but can be empty.
Full hostname (ie myservice.domain.tld)
Internal port (ie 8123 for homeassistant, 3000 for grafana)
Ip or url for the proxified server. If not set default to 172.17.0.1 (docker host).
Username to be used with basicauth. pwd
(see below) must also be set.
Password to be used with basicauth. user
(see above) must also be set.
This list describe all the subpath to be proxified, other that the root /
. It must be set (if the vhosts
list is not empty) to have a valid configuration but can be empty.
Each string must have the following format :
<path> <remote>:<port>
with :
- path (str): path to be proxify (ie
/api/
). - remote (str): Ip or url for the proxified server. Use
172.17.0.1
for the docker host. - port (str): Internal port.
Email is the email address to use with which to generate a certificate with Let's Encrypt.
Activate staging environment for letsencrypt. False by default.
Each string will be added to the caddy configuration file as a new line, after the domain proxified with the vhosts section.
BREAKING CHANGE In previous version, this was a list of dict with an object of the form {'line': str}
. The inderection was removed.