Skip to content

Commit f3cdd52

Browse files
authored
fix(qbittorrent): Add middleware to drop Accept-Encoding header (#184)
1 parent a0e2b8d commit f3cdd52

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,15 @@ services:
319319
- traefik.http.routers.qbittorrent.tls=true
320320
- traefik.http.routers.qbittorrent.tls.certresolver=myresolver
321321
- traefik.http.services.qbittorrent.loadbalancer.server.port=8080
322-
- traefik.http.routers.qbittorrent.middlewares=qbittorrent-strip-slash,qbittorrent-stripprefix
322+
- traefik.http.routers.qbittorrent.middlewares=qbittorrent-strip-slash,qbittorrent-stripprefix,qbittorrent-drop-encoding
323323
# https://github.com/qbittorrent/qBittorrent/issues/5693#issuecomment-552146296
324324
- traefik.http.middlewares.qbittorrent-stripprefix.stripPrefix.prefixes=/qbittorrent
325325
# https://community.traefik.io/t/middleware-to-add-the-if-needed/1895/19
326326
- traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.regex=(^.*\/qbittorrent$$)
327327
- traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.replacement=$$1/
328328
- traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.permanent=false
329+
# https://github.com/VueTorrent/VueTorrent/issues/2718#issuecomment-4189837679
330+
- traefik.http.middlewares.qbittorrent-drop-encoding.headers.customrequestheaders.Accept-Encoding=
329331
- com.centurylinklabs.watchtower.depends-on=vpn
330332
- homepage.group=Download
331333
- homepage.name=qBittorrent

0 commit comments

Comments
 (0)