Skip to main content

OpenWebUI & Ollama – setup and HTTPS configuration

How to access, secure, and configure OpenWebUI with Ollama on your Debian-based LumaDock VPS.

Andy Wallace avatar
Written by Andy Wallace
Updated over a month ago

This template deploys OpenWebUI on Debian 13 using Docker and includes Ollama with CPU-only support. After deployment you can open the web dashboard and complete the initial setup.


Access OpenWebUI

OpenWebUI starts automatically after the VPS is provisioned. You can open the interface at:

http://<your-public-ip>:3000

When the page loads complete the registration wizard to create your administrator account.


Enable HTTPS with a Let’s Encrypt certificate

If you want to secure the dashboard behind HTTPS you can request a free certificate from Let’s Encrypt. Make sure your domain points to your VPS before running the commands.



Step 1 – Install Certbot

sudo apt-get install certbot



Step 2 – Request a certificate

sudo certbot certonly --standalone -d <your_domain>

Replace <your_domain> with the actual domain you use for OpenWebUI.

Certbot will store the certificate under /etc/letsencrypt/live/<your_domain>/.


Configure HTTPS with Caddy

Caddy is already installed in this template and acts as the reverse proxy in front of OpenWebUI. You can update its configuration file at:

/etc/caddy/Caddyfile

Caddy will use the SSL certificate you generated and forward traffic to the application.



Example configuration

:443 {
tls /etc/letsencrypt/live/<your_domain>/fullchain.pem /etc/letsencrypt/live/<your_domain>/privkey.pem
reverse_proxy localhost:8080

log {
output file /var/log/caddy/access.log
}
}

After editing the file apply the changes:

sudo systemctl restart caddy


More information

OpenWebUI has many configuration options and integrations. For advanced usage refer to the official documentation.

Did this answer your question?