strip prefix
This commit is contained in:
parent
50bd183ae0
commit
0e6c339050
1 changed files with 5 additions and 1 deletions
|
@ -46,7 +46,11 @@ services:
|
|||
- traefik.http.routers.torrent.rule=Host(`${HOST_WWW}.${DOMAIN}`) && PathPrefix(`${PATH_TORRENT}`)
|
||||
- traefik.http.routers.torrent.entrypoints=websecure
|
||||
- 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:
|
||||
deluge_config:
|
||||
|
|
Loading…
Add table
Reference in a new issue