mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: echo log in app-prod-entrypoint.sh and TUSD_BEHIND_PROXY in .env.example
This commit is contained in:
@@ -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/ \
|
||||||
|
|||||||
Reference in New Issue
Block a user