Fix qBittorrent proxy configuration to ensure proper path handling and headers
This commit is contained in:
parent
ce7dc52855
commit
81f7b74b1f
@ -88,13 +88,17 @@ server {
|
||||
location = /qbt { return 302 /qbt/; }
|
||||
|
||||
location ^~ /qbt/ {
|
||||
proxy_pass http://qbt_upstream;
|
||||
proxy_pass http://qbt_upstream/;
|
||||
|
||||
include snippets/proxy-common.conf;
|
||||
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Prefix /qbt;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_cookie_path / /qbt/;
|
||||
|
||||
proxy_redirect / /qbt/;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user