mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #22610] [CLOSED] fix: respect FORWARDED_ALLOW_IPS environment variable in start.sh #49828
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22610
Author: @xr843
Created: 3/12/2026
Status: ❌ Closed
Base:
dev← Head:fix/forwarded-allow-ips-v2📝 Commits (1)
4fc924cfix: respect FORWARDED_ALLOW_IPS environment variable in start.sh📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
backend/start.sh(+4 -3)📄 Description
Pull Request Checklist
dev*when env var not set), and custom value is passed whenFORWARDED_ALLOW_IPSis set.Changelog Entry
Description
start.shhardcodes--forwarded-allow-ips '*'in both the HuggingFace Space path and the main uvicorn startup, ignoring theFORWARDED_ALLOW_IPSenvironment variable documented in.env.example. This change readsFORWARDED_ALLOW_IPSfrom the environment with'*'as the default fallback.Fixed
FORWARDED_ALLOW_IPSenvironment variable is now respected instart.shinstead of being hardcoded to'*'(fixes #22539)Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.