diff --git a/docker-compose.yml b/docker-compose.yml index 01585f0e..9b919128 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -227,6 +227,7 @@ services: - MAIN_VHOST_STATUS_ALIAS=/devilbox-httpd-status - MAIN_VHOST_SSL_TYPE=both - MAIN_VHOST_SSL_GEN=1 + - MAIN_VHOST_SSL_CN=${DEVILBOX_UI_SSL_CN:-localhost} ## ## Enable Mass Vhosts diff --git a/env-example b/env-example index 86c7c858..5e0f1128 100644 --- a/env-example +++ b/env-example @@ -149,6 +149,22 @@ TIMEZONE=Europe/Berlin DNS_CHECK_TIMEOUT=1 + +### +### Devilbox UI SSL Certificate generation +### +### When using SSL each certificate requires names for which it is responsible: +### Common Name as well as alternative names. +### +### Specify comma separated hostnames below by which you want to access the Devilbox. +### Those hostnames will be included in the SSL certificate for the Devilbox intranet. +### This has nothing to do for SSL certificates for projects, it is just for the intranet +### itself. +### +DEVILBOX_UI_SSL_CN=localhost,*.localhost,devilbox,*.devilbox + + + ### ### Devilbox UI Password protection enable/disable (1/0) ###