fix: respect FORWARDED_ALLOW_IPS environment variable in start.sh#22608
fix: respect FORWARDED_ALLOW_IPS environment variable in start.sh#22608xr843 wants to merge 1 commit intoopen-webui:mainfrom
Conversation
… start.sh start.sh hardcodes --forwarded-allow-ips '*' in both the HuggingFace Space startup path and the main uvicorn startup, making the FORWARDED_ALLOW_IPS environment variable (documented in .env.example) ineffective. This change reads FORWARDED_ALLOW_IPS from the environment with '*' as the default, preserving backward compatibility while allowing users to restrict forwarded IPs as intended. Fixes #22539 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🚫 STOP@xr843, you are trying to merge to the This repository does not allow direct merges to the 🚫 STOP: MISSING CLA@xr843, your PR description is missing the Contributor License Agreement confirmation. 👋 Welcome and Thank You for Contributing!We appreciate you taking the time to submit a pull request to Open WebUI!
|
|
Closing to retarget to dev branch with proper PR template. |
Summary
start.shhardcodes--forwarded-allow-ips '*'in both the HuggingFace Space path and the main uvicorn startup, ignoring theFORWARDED_ALLOW_IPSenvironment variable documented in.env.exampleFORWARDED_ALLOW_IPSfrom the environment with'*'as the default fallback, preserving full backward compatibility while allowing users to restrict forwarded IPs as intendedFixes #22539
Test plan
*when env var not set)FORWARDED_ALLOW_IPS=127.0.0.1and verify uvicorn uses the custom value🤖 Generated with Claude Code
contributor license agreement