Chore/improve docker compose (#5784)

This commit is contained in:
Chenhe Gu 2024-07-01 01:11:33 +08:00 • committed by GitHub
commit a27462d58b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 55 additions and 148 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
if [ "${HTTPS_ENABLED}" = "true" ]; then
if [ "${NGINX_HTTPS_ENABLED}" = "true" ]; then
# set the HTTPS_CONFIG environment variable to the content of the https.conf.template
HTTPS_CONFIG=$(envsubst < /etc/nginx/https.conf.template)
export HTTPS_CONFIG