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/ \