Setting up Open WebUI on a small server, container on port 3000, nginx in front with TLS. The login page loads and the login succeeds, but the chat view then shows connection errors and model responses either never arrive or arrive all at once after a long wait. Directly on port 3000 everything works.
Current server block, trimmed:
location / {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
The browser console mentions websocket failures. I assume nginx is not passing the upgrade, but the examples I find online disagree about which headers are needed and whether a separate location for the socket path is required. What is the minimal correct config?