mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
clear our referrer header which causes authentication issues with the android mobile app
This commit is contained in:
parent
32ee2cec85
commit
fd582cc7e5
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue