mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
strip prefix
This commit is contained in:
@@ -47,6 +47,10 @@ services:
|
|||||||
- traefik.http.routers.torrent.entrypoints=websecure
|
- traefik.http.routers.torrent.entrypoints=websecure
|
||||||
- traefik.http.routers.torrent.tls=true
|
- traefik.http.routers.torrent.tls=true
|
||||||
- traefik.http.services.torrent.loadbalancer.server.port=80
|
- traefik.http.services.torrent.loadbalancer.server.port=80
|
||||||
|
- traefik.http.routers.torrent.middlewares=torrentRedir,torrentPStrip
|
||||||
|
- traefik.http.middlewares.torrentPStrip.stripprefix.prefixes=${PATH_TORRENT}
|
||||||
|
- traefik.http.middlewares.torrentRedir.redirectregex.regex=^(.*)${PATH_TORRENT}$$
|
||||||
|
- traefik.http.middlewares.torrentRedir.redirectregex.replacement=$${1}${PATH_TORRENT}/
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
deluge_config:
|
deluge_config:
|
||||||
|
|||||||
Reference in New Issue
Block a user