-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Traefik Reverse Proxy for Web UI
Chocobo1 edited this page May 1, 2024
·
4 revisions
The following exposes the Web UI at http://<container host>/qb
using compose-style syntax (which can be translated to the traefik syntax of your choice)
...
services:
traefik:
image: traefik
networks: [traefik-qb-net]
ports: ["80:80"]
command:
- "--providers.docker=true"
- "--providers.docker.swarmMode=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
qbittorrent:
image: linuxserver/qbittorrent
deploy:
labels:
- "traefik.enable=true"
# adding a slash to the end
- "traefik.http.routers.qb.entrypoints=web"
- "traefik.http.routers.qb.rule=PathPrefix(`/qb`)"
- "traefik.http.middlewares.qb-redirect.redirectregex.regex=^(.*)/qb$$"
- "traefik.http.middlewares.qb-redirect.redirectregex.replacement=$$1/qb/"
- "traefik.http.middlewares.qb-strip.stripprefix.prefixes=/qb/"
# appropriate header changes
- "traefik.http.middlewares.qb-headers.headers.customrequestheaders.X-Frame-Options=SAMEORIGIN"
- "traefik.http.middlewares.qb-headers.headers.customrequestheaders.Referer="
- "traefik.http.middlewares.qb-headers.headers.customrequestheaders.Origin="
- "traefik.http.routers.qb.middlewares=qb-strip,qb-redirect,qb-headers"
# loadbalancer to *not* pass the host header
- "traefik.http.services.qb.loadbalancer.server.port=8080"
- "traefik.http.services.qb.loadbalancer.passhostheader=false"
- "traefik.docker.network=traefik-qb-net"
...
- Installing qBittorrent
- Frequently Asked Questions (FAQ)
- qBittorrent options (current and deprecated)
- How to use qBittorrent as a tracker
- How to use portable mode
- Anonymous mode
- How to bind your vpn to prevent ip leaks
State | Version |
---|---|
Current | qBittorrent ≥ v4.1 |
Previous | qBittorrent v3.2.0 - v4.0.x |
Obsolete | qBittorrent < v3.2.0 |
- Let's Encrypt Certificates + Caddy2 Reverse Proxy
- Let's Encrypt certificates + NGINX reverse proxy - Linux
- Let's Encrypt certificates - Linux
- Self-signed SSL certificates - Linux
- Running qBittorrent without X server (WebUI only)
- Running qBittorrent without X server (WebUI only, systemd service set up, Ubuntu 15.04 or newer)
- OpenVPN and qBittorrent without X server
- Coding style
- Contributing
- How to write a search plugin
- Using VSCode for qBittorrent development
- Setup GDB with Qt pretty printers
- How to debug WebUI code