From 073f8694f5ee7489333a2a1dc0fdb8dadb5ab1ec Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 6 Aug 2022 21:37:22 -0500 Subject: [PATCH] fix for variable name mismatch, remove trailing space from heredoc EOF --- client/build/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/build/entrypoint.sh b/client/build/entrypoint.sh index 5133922..bd8d2c7 100644 --- a/client/build/entrypoint.sh +++ b/client/build/entrypoint.sh @@ -16,7 +16,7 @@ chmod 0644 $CRONTAB_FILE if [ "$TLS_NAME" != "" ]; then if [ "$TLS_CUSTOM_CERT" == "true" ]; then cat << EOF > /etc/caddy/Caddyfile -$TLS_FQDN { +$TLS_NAME { root * /syncer/library file_server tls /etc/caddycerts/cert.pem /etc/caddycerts/key.pem @@ -24,11 +24,11 @@ $TLS_FQDN { EOF else cat << EOF > /etc/caddy/Caddyfile -$TLS_FQDN { +$TLS_NAME { root * /syncer/library file_server } -EOF +EOF fi fi