mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-21 06:21:12 -04:00
Wrong variable.
This commit is contained in:
parent
75df7b86c4
commit
6008767f0e
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user