mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1423] [CLOSED] docs: correct the reverse proxy pages against the socket, cookie, forwarded-header and startup code #1388
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/docs/pull/1423
Author: @silentoplayz
Created: 9/18/2026
Status: ❌ Closed
Base:
main← Head:docs/reverse-proxy-pages📝 Commits (1)
f2264fadocs: correct the reverse proxy pages against the socket, cookie, forwarded-header and startup code📊 Changes
7 files changed (+54 additions, -55 deletions)
View changed files
📝
docs/reference/https/haproxy.md(+10 -8)📝
docs/reference/https/index.md(+10 -5)📝
docs/reference/https/nginx.md(+13 -18)📝
docs/reference/tab-nginx/LetsEncrypt.md(+2 -2)📝
docs/reference/tab-nginx/NginxProxyManager.md(+15 -18)📝
docs/reference/tab-nginx/SelfSigned.md(+2 -2)📝
docs/reference/tab-nginx/Windows.md(+2 -2)📄 Description
Summary
I compared the HTTPS overview, the Nginx, HAProxy and Nginx Proxy Manager pages and the Nginx tabs with the socket, cookie, forwarded-header and startup code.
CORS_ALLOW_ORIGINdefaults to*, so leaving it unset cannot break WebSocket. The three "must set it" warnings are now hardening tips that say what does break connections: a value that omits the public origin./ws/socket.io, not over the HTTP response, so proxy buffering cannot garble markdown in the browser. The directive stays, for API clients reading streamed responses.ENABLE_WEBSOCKET_SUPPORT=falseswitches to long-polling). It adds forwarded headers andFORWARDED_ALLOW_IPS, the session and OAuth cookies that lackSecureby default, and the 25-second ping that makes 24-hour WebSocket timeouts unnecessary. It also adds the missing upload cap behindclient_max_body_size, the/healthand/readyendpoints, andWEBSOCKET_MANAGER=redisfor several instances.X-CLIENT-IPis not read, and a/healthcheck is added.Related issue or discussion
None.
Checklist
Notes for reviewers
Sources on
dev:config.py(CORS_ALLOW_ORIGIN,RAG_FILE_MAX_SIZE),socket/main.py(path, transports, ping settings),src/routes/+layout.svelte(client transports), andmain.py(/wsmount,/health,/ready, session cookie). Alsobackend/start.sh(--forwarded-allow-ips;open-webui servetrusts every peer instead,open_webui/__init__.py),env.py(cookie flags, ping intervals),routers/files.py(the HTTP 413 check),utils/oauth.py(request.base_urlfallback),src/lib/constants.tsandsvelte.config.js(no base path), andGeneral.sveltefor the WebUI URL field. Proxy product syntax is unchanged except where noted.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.