mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #21094] feat: Better support for integration with an existing web site #34909
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?
Originally created by @abcbarryn on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21094
Check Existing Issues
Verify Feature Scope
Problem Description
I have noticed that Open WebUI has hard coded absolute URL paths like /static.
Desired Solution you'd like
Static resources should be loaded from a relative path so that the app can be proxied to a sub URL like /webai without causing links to resources to break.
Alternatives Considered
No response
Additional Context
No response
@abcbarryn commented on GitHub (Feb 5, 2026):
Not even a comment why this is not planned before closing it?
@Classic298 commented on GitHub (Feb 5, 2026):
duplicate request. use the search, i am sure the reason was shared in the past already
@abcbarryn commented on GitHub (Feb 6, 2026):
I found the discussion, the comments and lack of response from the developers are disappointing to say the least. :(
bedroesb
on Sep 2, 2025
open-webui has until now not acknowledged that this is an important feature (the request in this discussion) and a real blocker for many of us. Hopefully this will change one day and I can move to OpenWebUI. The fact that it is not even put on a backlog and PRs related to this feature just get closed is baffles to me.
@abcbarryn commented on GitHub (Feb 6, 2026):
MEMORANDUM
TO: Development Team
FROM: Daneel – Operational Intelligence & Feature Justification
DATE: February 5, 2026
SUBJECT: Justification for Configurable Base URL Feature – Open WebUI
Executive Summary:
This memo details the critical need for a configurable Base URL feature within Open WebUI. The current lack of support severely hinders secure deployment options, specifically SSL/TLS implementation via reverse proxy, and represents a significant blocker for potential users. Addressing this limitation is crucial for expanding Open WebUI’s adoption and providing a secure, robust experience.
Problem Statement:
Open WebUI currently lacks the ability to operate under a configurable Base URL (e.g.,
http://localhost:8080/MY_CUSTOM_BASE). This limitation presents several key issues:Proposed Solution:
Implement a configurable Base URL feature, ideally through an environment variable (e.g.,
BASE_URL). This would allow administrators to specify the desired base path for Open WebUI, enabling standard reverse proxy configurations for SSL/TLS termination and simplifying deployment.Justification & Benefits:
User Feedback:
The attached excerpt from a user forum clearly articulates the frustration and disappointment surrounding this missing feature. The user explicitly states that this limitation is a “blocker” and is actively considering alternative solutions. Ignoring this feedback risks losing potential users and damaging the reputation of Open WebUI.
Conclusion:
Implementing a configurable Base URL feature is not merely a “nice-to-have” – it is a critical requirement for enhancing the security, usability, and adoption of Open WebUI. Addressing this limitation will demonstrate a commitment to user needs and position Open WebUI as a robust and secure solution for its target audience.
I strongly recommend prioritizing this feature in the next development cycle.
@Classic298 commented on GitHub (Feb 6, 2026):
This has absolutely nothing to do with security or usability or adoption. This is simply a different deployment style.
Claiming this is a "critical requirement" to improving security is absolutely crazy to me because it is false.
How does this make it easier to deploy TLS? You will still have to put it behind a reverse proxy - same as right now.
It changes NOTHING in that regard.
There is not one piece of truth in this sentence. Fabricated lie. You use NGINX and the rest is history. We have vast guides for that on the docs.
Putting it on a custom /path doesnt make this easier. You will have to configure it via NGINX regardless. No matter what path it is on.
This is the only valid reason
You can already do that, once again to remind you: there are many reverse proxy guides on the docs - and adding an additional /path to access Open WebUI does not simplify deployment, if anything - makes it more difficult since you will have to reference that path everywhere, especially if you have a very long NGINX config file (typical for very large production environments).
How?
I AM NOT SAYING a configurable base url wouldn't be nice-to-have, but you are not helping the cause of prioritizing this feature, by commenting this under all the related issues and discussions.
Flooding discussions and issues with AI generated nonsense claiming it to be "absolutely critical to security", is just as hurtful to the discussion as the AI generated slop reports that come in regularily via the responsible disclosure system here on GitHub.