Deploy Open WebUI under a URL prefix (e.g. https://example.com/openwebui/), controlled by a single WEBUI_ROOT_PATH environment variable.
WEBUI_ROOT_PATH — URL prefix (e.g. /openwebui). No trailing slash. Runtime config, no rebuild.
docker run -d -p 80:8080 -e WEBUI_ROOT_PATH=/openwebui -e ENABLE_PERSISTENT_CONFIG=False -e WEBUI_AUTH=false warfront1owu/open-webui:latestNavigate to http://localhost/openwebui/ in your browser.
The core Open WebUI team doesn't want this feature to be merged.
This repo intends to host a minimal, ideally fully automated solution, to keep up to date with upstream changes while adding Root Path support.
We hope that the Open WebUI team will reconsider this feature in the future.
For development and architecture details, see DEVELOPERS.md.