Skip to main content

HTTPS & Reverse Proxies

Secure your Open WebUI deployment with TLS encryption, reverse proxies, or managed tunnels.

HTTPS encrypts all traffic between users and Open WebUI, protecting chat history, credentials, and uploaded files. It is also required for browser features like Voice Calls, which need a secure context to access the microphone.

Voice Calls require HTTPS

Modern browsers block microphone access on non-HTTPS origins. Voice Calls will not work over plain http:// unless you are on localhost.


Choose your approach

MethodBest forTLS management
Cloudflare TunnelProduction without open portsAutomatic (Cloudflare edge)
ngrokDevelopment and testingAutomatic (ngrok edge)
TailscalePrivate access across devicesAutomatic (tailscale serve)
NginxSelf-hosted production with full controlManual or Let's Encrypt
CaddySelf-hosted production, minimal configAutomatic (Let's Encrypt)
HAProxyHigh-availability / load balancingManual or Let's Encrypt
Cloud load balancersAWS ALB, GCP LB, Azure App GatewayManaged by cloud provider

Quick recommendations

  • Just want HTTPS fast? Use Cloudflare Tunnel (production) or ngrok (development). No certificates to manage, no ports to open.
  • Running a reverse proxy already? Add Caddy for automatic certs or Nginx for maximum control.
  • Need load balancing? Use HAProxy or your cloud provider's load balancer.

Key configuration notes

Regardless of which approach you choose, keep these in mind:

SettingWhy it matters
WEBUI_URLSet this to your public HTTPS URL so OAuth callbacks and internal links resolve correctly
CORS_ALLOW_ORIGINMust match your public URL, or WebSocket connections will fail silently
Proxy buffering offRequired for SSE streaming. Buffering breaks markdown rendering in chat responses
WebSocket supportEnsure your proxy passes Upgrade and Connection headers for real-time features
Extended timeoutsLLM responses can take minutes. Set proxy read timeouts to at least 300s
This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.