Is Open WebUI HTTPS Capable? #2127
Replies: 6 comments 3 replies
-
Open WebUI itself doesn't implement SSL, most people have used another service (Nginx, Apache, AWS ALB, etc.) in front of Open WebUI to implement SSL. The maintainers have said in Discord many times that SSL and load balancing are too opinionated for them to want to implement it in Open WebUI. |
Beta Was this translation helpful? Give feedback.
-
Yes it does, I've used uvicorn in previous tools, noticed WebUI does as well. In Start.sh In the last line where there is uvicorn app --host -- port .... '*' Just add the uvicorn options --ssl-certfile="/path/to/file.pem" --ssl-keyfile="/path/to/file.key" Did so today to replace my older gradio app and worked like a charm. |
Beta Was this translation helpful? Give feedback.
-
I use a cloudflare tunnel for https. |
Beta Was this translation helpful? Give feedback.
-
Install Nginx: sudo apt install nginx Create Nginx server block: /etc/nginx/sites-available/openwebui
Enable server block: sudo ln -s /etc/nginx/sites-available/openwebui /etc/nginx/sites-enabled/ Test and restart Nginx: sudo nginx -t and sudo systemctl restart nginx Install Certbot: sudo apt install certbot python3-certbot-nginx Obtain SSL certificate: sudo certbot --nginx -d YOURDOMAIN.com Verify SSL: Visit https:// YOURDOMAIN. com Test renewal: sudo certbot renew --dry-run |
Beta Was this translation helpful? Give feedback.
-
I followed @KelvinCampelo steps but could not connect https openwebui server. I got ERR_SSL_PROTOCOL_ERROR.
Did I something wrong ? |
Beta Was this translation helpful? Give feedback.
-
I am using a cloudflare domain , my setups are all via docker heck, even the login is via cloudflare authentication
|
Beta Was this translation helpful? Give feedback.
-
Is Open WebUI HTTPS Capable? If not, how do I make it HTTPS capable, if yes, how do I make it HTTPS capable?
I have my own personal domain already attached to Open WebUI but it shows as unsecure, I wanted to know, how do I make it HTTPS.
If this helps, I am using cloudflare for SSL certificate.
Beta Was this translation helpful? Give feedback.
All reactions