From 364dd72343b92b9f6ddb15d28cbea749bd5f2100 Mon Sep 17 00:00:00 2001 From: colin Date: Tue, 21 Nov 2023 17:26:19 +0000 Subject: [PATCH] Update docker-entrypoint.sh --- docker-entrypoint.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 8d8989c..cf74293 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -4,15 +4,11 @@ PROTOCOL="${PROTOCOL:-http}" # Replace placeholders with environment variable values envsubst '$BACKEND_ADDRESS $BACKEND_PORT $PROTOCOL $MATOMO_URL $MATOMO_SITE_ID' < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf -# Substitute environment variables in matomo.js -envsubst '$MATOMO_URL $MATOMO_SITE_ID' < /matomo.js.template > /matomo.js # Start nginx in the foreground curl -k -I $PROTOCOL://$BACKEND_ADDRESS:$BACKEND_PORT echo checking nginx modules nginx -V 2>&1 | grep -o http_sub_module -echo /matomo.js -cat /matomo.js echo /etc/nginx/nginx.conf cat /etc/nginx/nginx.conf exec nginx -g 'daemon off;'