From a400e8601b96d6847b16423314c46be53f61a01d Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 23 Nov 2025 20:20:50 +0100 Subject: [PATCH] Update nginx.md --- docs/tutorials/https/nginx.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/tutorials/https/nginx.md b/docs/tutorials/https/nginx.md index 4ee0cb1..3de6d8e 100644 --- a/docs/tutorials/https/nginx.md +++ b/docs/tutorials/https/nginx.md @@ -19,6 +19,14 @@ This guide provides three methods to set up HTTPS: - **Let's Encrypt**: Perfect for production environments requiring trusted SSL certificates, using docker. - **Windows+Self-Signed**: Simplified instructions for development and internal use on windows, no docker required. +:::danger Critical: Configure CORS for WebSocket Connections + +A very common and difficult-to-debug issue with WebSocket connections is a misconfigured Cross-Origin Resource Sharing (CORS) policy. When running Open WebUI behind a reverse proxy like Nginx Proxy Manager, you **must** set the `CORS_ALLOW_ORIGIN` environment variable in your Open WebUI configuration. + +Failure to do so will cause WebSocket connections to fail, even if you have enabled "Websockets support" in Nginx Proxy Manager. + +::: + Choose the method that best fits your deployment needs. import Tabs from '@theme/Tabs';