Hi,
I'm trying to setup rutorrent to work with traefik on a specified path
first of all my docker-compose setup:
version: '3.5'
services:
traefik:
container_name: traefik
image: traefik:v2.0.1
command:
- "--log.level=DEBUG"
- "--api"
- "--providers.docker=true"
- "--entrypoints.web.address=:80"
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
- "traefik.http.routers.traefik.rule=Host(`traefik.docker.localhost`)"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.entrypoints=web"
networks:
gateway: {}
vpn:
image: dperson/openvpn-client:armhf
container_name: vpn
command: "-r 172.17.0.1"
volumes:
- "/apps/vpn:/vpn"
ports:
- "8080:80"
devices:
- "/dev/net/tun"
dns:
- 1.1.1.1
cap_add:
- NET_ADMIN
networks:
gateway: {}
rutorrent:
image: linuxserver/rutorrent
container_name: rutorrent
network_mode: container:vpn
depends_on:
- vpn
environment:
- PUID=1000
- PGID=1000
volumes:
- /apps/rutorrent/config:/config
- /apps/rutorrent/downloads:/downloads
network_mode: "service:vpn"
labels:
- "traefik.http.routers.rutorrent.rule=Host(`zpi.home`)"
- "traefik.http.routers.rutorrent.middlewares=rutorrent@docker"
- "traefik.http.routers.rutorrent.entrypoints=web"
- "traefik.http.middlewares.rutorrent.stripprefix.prefixes=/rutorrent"
- "traefik.http.services.rutorrent.loadbalancer.server.port=80"
networks:
gateway:
ipam:
driver: default
With that configuration rutorrent is working perfectly on both of zpi.home
and zpi.home/rutorrent
but I don't want to traefik to route the request from zpi.home
to rutorrent so I added a && Path(
/rutorrent)
to the rule, but when I add that, only a blank page with few elements of rutorrent is displayed.
Thx
Is that related to a path problem ? Which rutorrent is trying to respond but can't because of the addition of "Path" ?
The ideal solution is to let the default configuration to rutorrent.