added "true" to the all option for trusted_proxy env variable.

Daan Selen committed Mar 25, 2025 at 15:22 UTC 75df7b86c45d207765c87f7cb4c83b64fbbd6855
1 file changed +1 -1
docker/entrypoint.sh
+1 -1
@@ -163,7 +163,7 @@ if [[ "$DYNAMIC_CONFIG" =~ ^(true|yes)$ ]]; then
163 if [[ -n $TRUSTED_PROXY ]]; then
164 echo "Setting trustedProxy... - $REVERSE_PROXY_STRING"
165
166 - if [[ $TRUSTED_PROXY == "all" ]]; then
166 + if [[ $TRUSTED_PROXY == "all" ]] || [[ $TRUSTED_PROXY == "true" ]]; then
167 sed -i 's/"_trustedProxy"/"trustedProxy"/' "$CONFIG_FILE"
168 jq --argjson trusted_proxy "true" \
169 '.settings.trustedProxy = $trusted_proxy' \