fix(gost): add nocodb to no_proxy bypass list

n8n couldn't connect to nocodb via internal hostname when gost proxy
is enabled. also ensures gost_no_proxy is updated from template on
system updates.
This commit is contained in:
Yury Kossakovsky
2025-12-30 16:21:26 -07:00
parent 58799d9ae1
commit 192d457c87
2 changed files with 8 additions and 1 deletions

View File

@@ -550,6 +550,13 @@ else
_update_or_add_env_var "GOST_PROXY_URL" ""
fi
# Update GOST_NO_PROXY from template to ensure all internal services are included
# This overwrites user's value to guarantee new services added in updates are included
template_no_proxy=$(grep -E "^GOST_NO_PROXY=" "$TEMPLATE_FILE" 2>/dev/null | cut -d'=' -f2- | tr -d '"' || echo "")
if [[ -n "$template_no_proxy" ]]; then
_update_or_add_env_var "GOST_NO_PROXY" "$template_no_proxy"
fi
# Hash passwords using caddy with bcrypt (consolidated loop)
SERVICES_NEEDING_HASH=("PROMETHEUS" "SEARXNG" "COMFYUI" "PADDLEOCR" "RAGAPP" "LT" "DOCLING" "WELCOME")