Wrong variable.

This commit is contained in:
Daan Selen 2025-03-25 15:24:44 +01:00
parent 75df7b86c4
commit 6008767f0e

View File

@ -161,7 +161,7 @@ if [[ "$DYNAMIC_CONFIG" =~ ^(true|yes)$ ]]; then
# trustedProxy # trustedProxy
if [[ -n $TRUSTED_PROXY ]]; then if [[ -n $TRUSTED_PROXY ]]; then
echo "Setting trustedProxy... - $REVERSE_PROXY_STRING" echo "Setting trustedProxy... - $TRUSTED_PROXY"
if [[ $TRUSTED_PROXY == "all" ]] || [[ $TRUSTED_PROXY == "true" ]]; then if [[ $TRUSTED_PROXY == "all" ]] || [[ $TRUSTED_PROXY == "true" ]]; then
sed -i 's/"_trustedProxy"/"trustedProxy"/' "$CONFIG_FILE" sed -i 's/"_trustedProxy"/"trustedProxy"/' "$CONFIG_FILE"