From 6622565b14848a27397332f485451d6abf2fbb56 Mon Sep 17 00:00:00 2001 From: Charles GTE Date: Tue, 9 Jun 2026 19:42:24 +0200 Subject: [PATCH] fix: echo log in app-prod-entrypoint.sh and TUSD_BEHIND_PROXY in .env.example --- .env.example | 3 +++ docker/entrypoints/app-prod-entrypoint.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/.env.example b/.env.example index 3e5ce389..a8e3e759 100644 --- a/.env.example +++ b/.env.example @@ -78,3 +78,6 @@ TRUSTED_DOMAINS="http://localhost:8887, http://localhost:3055, http://localhost: #OPENAPI_ENABLED=true #API_ENABLED=true #MCP_ENABLED=true + +# Default to false +#TUSD_BEHIND_PROXY=true diff --git a/docker/entrypoints/app-prod-entrypoint.sh b/docker/entrypoints/app-prod-entrypoint.sh index a6c3553e..c3e931f9 100644 --- a/docker/entrypoints/app-prod-entrypoint.sh +++ b/docker/entrypoints/app-prod-entrypoint.sh @@ -75,6 +75,7 @@ echo "▶ Starting tusd server..." TUSD_BEHIND_PROXY_FLAG="" if [ "${TUSD_BEHIND_PROXY:-false}" = "true" ]; then TUSD_BEHIND_PROXY_FLAG="--behind-proxy" + echo "[INFO] TUSD_BEHIND_PROXY=true, enabling tusd proxy mode" fi tusd \ --base-path /tus/files/ \