Originally created by @DuckY-Y on GitHub (Jul 15, 2024).
Context
So I've been trying to setup open-webui behind a reverse proxy, in this case Traefik.
As you can see from the screenshot, this is the page I'm greeted with when accessing webui.
I simply don't understand as to why I'm getting this error when I point Traefik at the internal 8080 port of open-webui?
If I were to uncomment the ports part and visit the site with ip and port specified (e.g. chat.bss:8081), then it works perfectly fine
Originally created by @DuckY-Y on GitHub (Jul 15, 2024).
## Context
So I've been trying to setup open-webui behind a reverse proxy, in this case Traefik.

As you can see from the screenshot, this is the page I'm greeted with when accessing webui.
I simply don't understand as to why I'm getting this error when I point Traefik at the internal 8080 port of open-webui?
If I were to uncomment the ports part and visit the site with ip and port specified (e.g. chat.bss:8081), then it works perfectly fine
## docker-compose.yaml
```
chat-webui:
build:
context: ../apps/chat_open-webui/.
args:
OLLAMA_BASE_URL: '/ollama'
dockerfile: Dockerfile
container_name: chat-webui
# ports:
# - "8081:8080"
volumes:
- chat-webui:/app/backend/data
restart: unless-stopped
depends_on:
- traefik
networks:
- ai-network
environment:
OLLAMA_BASE_URL: http://ollama:11434
labels:
- "traefik.enable=true"
- "traefik.http.routers.chat-webui.entrypoints=web"
- "traefik.http.routers.chat-webui.rule=Host(`chat.bss`)"
- "traefik.http.services.chat-webui.loadbalancer.server.port=8080"
```
## Environment
- **Open WebUI Version:** [latest]
- **Operating System:** [Ubuntu 22.04]
## Logs

No errors reported in logs
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @DuckY-Y on GitHub (Jul 15, 2024).
Context
So I've been trying to setup open-webui behind a reverse proxy, in this case Traefik.

As you can see from the screenshot, this is the page I'm greeted with when accessing webui.
I simply don't understand as to why I'm getting this error when I point Traefik at the internal 8080 port of open-webui?
If I were to uncomment the ports part and visit the site with ip and port specified (e.g. chat.bss:8081), then it works perfectly fine
docker-compose.yaml
Environment
Logs
No errors reported in logs