GuidesAPI ReferenceDiscussions
GuidesBlogPlatform

Enable HTTPS access

This manual supports docker-compose only deployments.

  1. Create a certs directory under config/ssl-proxy, e.g. for Unix/Linux-based OS:
mkdir config/ssl-proxy/certs
  1. Place your certificate and key under the newly-created directory, e.g.:
config/ssl-proxy/certs
├── mydomain.key
└── mydomain.pem
  1. Set your domain name and filenames of your key and certificates in config/ssl-proxy/conf.d-ssl/nginx.conf under server directive, e.g.:
...
server {
    ...
    ssl_certificate /etc/nginx/certs/<your_certificate_filename>;
    ssl_certificate_key /etc/nginx/certs/<your_key_filename>;
    ...
}
...

With the filenames from step 2 config will look like this:

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 
    ...
}
...
  1. Enable ssl-proxy by editing your custom.env configuration and adding the ssl-proxy mod:
COMPOSE_FILE=docker-compose.yml:mods/ssl-proxy.yml
  1. Run make up in the project's root to update your docker-compose deployment.

  2. Access Databand stack UI via ssl-proxy container and HTTPS.


Did this page help you?