Merge pull request #17 from linuxserver/qbittorrent-mobile-app-fix

clear our referrer header which causes authentication issues with the…
This commit is contained in:
aptalca 2019-02-07 11:16:28 -05:00 committed by GitHub
commit f89a9d2d6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ server {
set $upstream_qbittorrent qbittorrent; set $upstream_qbittorrent qbittorrent;
proxy_pass http://$upstream_qbittorrent:8080; proxy_pass http://$upstream_qbittorrent:8080;
proxy_set_header Referer '';
proxy_set_header Host $upstream_qbittorrent:8080; proxy_set_header Host $upstream_qbittorrent:8080;
} }
} }

View file

@ -18,5 +18,6 @@ location ^~ /qbittorrent/ {
rewrite /qbittorrent(.*) $1 break; rewrite /qbittorrent(.*) $1 break;
proxy_pass http://$upstream_qbittorrent:8080; proxy_pass http://$upstream_qbittorrent:8080;
proxy_set_header Referer '';
proxy_set_header Host $upstream_qbittorrent:8080; proxy_set_header Host $upstream_qbittorrent:8080;
} }