[PR #1797] [MERGED] feat: add HOST to the backend start script #7582

Closed
opened 2025-11-11 17:30:48 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1797
Author: @cheahjs
Created: 4/27/2024
Status: Merged
Merged: 4/27/2024
Merged by: @tjbck

Base: devHead: feat/allow-overriding-host-in-docker


📝 Commits (1)

  • c194298 feat: add HOST to the backend start script

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 backend/start.sh (+2 -1)

📄 Description

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description

Allow overriding the --host arg in the backend/start.sh script. When using Open WebUI behind a reverse proxy, especially when used with the trusted email header, you will want to only listen on localhost to avoid users from bypassing the proxy.


Changelog Entry

Added

  • HOST can be set in Docker or the start.sh script to set the backend listen address.

🔄 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/1797 **Author:** [@cheahjs](https://github.com/cheahjs) **Created:** 4/27/2024 **Status:** ✅ Merged **Merged:** 4/27/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/allow-overriding-host-in-docker` --- ### 📝 Commits (1) - [`c194298`](https://github.com/open-webui/open-webui/commit/c19429848bd30356f3cb4fd02456d841b59927e2) feat: add HOST to the backend start script ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/start.sh` (+2 -1) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? --- ## Description Allow overriding the `--host` arg in the `backend/start.sh` script. When using Open WebUI behind a reverse proxy, especially when used with the trusted email header, you will want to only listen on localhost to avoid users from bypassing the proxy. --- ### Changelog Entry ### Added - `HOST` can be set in Docker or the `start.sh` script to set the backend listen address. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:30:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#7582