📞 🇺🇸 +1 361 304 4309 📞 🇮🇳 +91 76769 02281 ✉️ [email protected]
AI & Servers

How to Set Up Open WebUI for Ollama on Linux

How to Set Up Open WebUI for Ollama on Linux

Open WebUI provides a beautiful ChatGPT-like interface for your self-hosted Ollama installation — supporting multiple users, conversation history and model switching.

Prerequisites

Step 1 — Deploy with Docker

# If Ollama is on the same server
docker run -d   -p 3000:8080   --add-host=host.docker.internal:host-gateway   -v open-webui:/app/backend/data   --name open-webui   --restart always   ghcr.io/open-webui/open-webui:main

Step 2 — Access the Interface

http://your-server:3000

Create an admin account on first access. The first account automatically gets admin privileges.

Step 3 — Configure Ollama Connection

# Settings → Connections → Ollama API URL
http://host.docker.internal:11434

# Test connection — should show your installed models

Step 4 — Nginx Reverse Proxy with SSL

server {
    listen 443 ssl;
    server_name chat.yourdomain.com;

    ssl_certificate /etc/letsencrypt/live/chat.yourdomain.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/chat.yourdomain.com/privkey.pem;

    location / {
        proxy_pass http://localhost:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_read_timeout 300s;
    }
}

Step 5 — Multi-User Setup

# Admin Panel → Users → Add User
# Set role: User (limited) or Admin (full access)
# Users can only see their own conversations

Step 6 — Enable RAG (Document Chat)

Open WebUI supports RAG — upload PDFs, text files or web URLs and chat with their content:

# In chat interface:
# Click + → Upload Document
# Ask questions about the document content

Conclusion

Open WebUI transforms Ollama into a full team AI platform. Our team deploys self-hosted AI environments including Open WebUI with SSO and multi-user management.

#open-webui #ollama #ai #web-interface #docker
Share this guide:
🛠️ Need Expert Help?

Don't want to do this yourself?

Our certified engineers implement this for you — correctly, securely, and within hours. Available 24/7 with 15-minute emergency response.

  • ✅ 19+ years experience
  • ✅ 60+ certified engineers
  • ✅ 1,600+ servers managed
  • ✅ 40+ countries served
  • ✅ Plans from $49/mo

Get Expert Help — Free Consultation

We respond within 4 hours · No commitment required

Please enter your name and a valid email.

No spam. Privacy Policy

Comments