Enabling HTTPS access
HTTPS access can be enabled only for docker-compose deployments.
Complete the following steps to enable HTTPS access:
- Create a
certsdirectory underconfig/ssl-proxy. For a Linux or Unix-based OS, use:mkdir config/ssl-proxy/certs - Place your certificate and key under the newly created directory:
config/ssl-proxy/certs ├── mydomain.key └── mydomain.pem - Set your domain name and file names for your key and certificates in
config/ssl-proxy/conf.d-ssl/nginx.confunder theserverdirective:... server { ... ssl_certificate /etc/nginx/certs/<your_certificate_filename>; ssl_certificate_key /etc/nginx/certs/<your_key_filename>; ... } ...With the file names from step 2, the configuration looks like:server { ... ssl_certificate /etc/nginx/certs/mydomain.pem; # set your certificate filename here ssl_certificate_key /etc/nginx/certs/mydomain.key; # set your key filename here ... } ... - Enable
ssl-proxyby editing yourcustom.envconfiguration and adding thessl-proxymod:COMPOSE_FILE=docker-compose.yml:mods/ssl-proxy.yml - Run
make upin the project's root to update yourdocker-composedeployment.
You can now access the Databand UI by using the ssl-proxy container and HTTPS.