fix: echo log in app-prod-entrypoint.sh and TUSD_BEHIND_PROXY in .env.example

This commit is contained in:
Charles GTE
2026-06-09 19:42:24 +02:00
parent f001de1e97
commit 6622565b14
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -78,3 +78,6 @@ TRUSTED_DOMAINS="http://localhost:8887, http://localhost:3055, http://localhost:
#OPENAPI_ENABLED=true #OPENAPI_ENABLED=true
#API_ENABLED=true #API_ENABLED=true
#MCP_ENABLED=true #MCP_ENABLED=true
# Default to false
#TUSD_BEHIND_PROXY=true
@@ -75,6 +75,7 @@ echo "▶ Starting tusd server..."
TUSD_BEHIND_PROXY_FLAG="" TUSD_BEHIND_PROXY_FLAG=""
if [ "${TUSD_BEHIND_PROXY:-false}" = "true" ]; then if [ "${TUSD_BEHIND_PROXY:-false}" = "true" ]; then
TUSD_BEHIND_PROXY_FLAG="--behind-proxy" TUSD_BEHIND_PROXY_FLAG="--behind-proxy"
echo "[INFO] TUSD_BEHIND_PROXY=true, enabling tusd proxy mode"
fi fi
tusd \ tusd \
--base-path /tus/files/ \ --base-path /tus/files/ \