🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/22555
**Author:** [@alvinttang](https://github.com/alvinttang)
**Created:** 3/11/2026
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `fix/forwarded-allow-ips-env`
---
### 📝 Commits (1)
- [`6779603`](https://github.com/open-webui/open-webui/commit/6779603ab9ef9126cb69a48b8eb7c047c537251d) fix: respect FORWARDED_ALLOW_IPS env var in start.sh
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/start.sh` (+2 -2)
</details>
### 📄 Description
## Summary
- Replace hardcoded `--forwarded-allow-ips '*'` with `--forwarded-allow-ips "${FORWARDED_ALLOW_IPS:-*}"` in `backend/start.sh`
- The `FORWARDED_ALLOW_IPS` environment variable is now respected, with `*` as the default for backward compatibility
- Fixes both the main uvicorn launch (line 86) and the HuggingFace Space admin setup launch (line 53)
Fixes #22539
## Test plan
- [ ] Set `FORWARDED_ALLOW_IPS` to a specific IP (e.g., `127.0.0.1`) and verify uvicorn starts with that value
- [ ] Leave `FORWARDED_ALLOW_IPS` unset and verify uvicorn defaults to `*` (backward compatible)
contributor license agreement
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22555
Author: @alvinttang
Created: 3/11/2026
Status: ❌ Closed
Base:
main← Head:fix/forwarded-allow-ips-env📝 Commits (1)
6779603fix: respect FORWARDED_ALLOW_IPS env var in start.sh📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
backend/start.sh(+2 -2)📄 Description
Summary
--forwarded-allow-ips '*'with--forwarded-allow-ips "${FORWARDED_ALLOW_IPS:-*}"inbackend/start.shFORWARDED_ALLOW_IPSenvironment variable is now respected, with*as the default for backward compatibilityFixes #22539
Test plan
FORWARDED_ALLOW_IPSto a specific IP (e.g.,127.0.0.1) and verify uvicorn starts with that valueFORWARDED_ALLOW_IPSunset and verify uvicorn defaults to*(backward compatible)contributor license agreement
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.