mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
qbittorent.subdomain.conf.sample: add /scripts directory
qBittorrent (v4.4.5) web UI does not function unless /scripts directory is added to configuration file
This commit is contained in:
parent
99eedadc44
commit
e171175351
1 changed files with 14 additions and 0 deletions
|
@ -109,4 +109,18 @@ server {
|
||||||
proxy_set_header Referer '';
|
proxy_set_header Referer '';
|
||||||
proxy_set_header Host $upstream_app:$upstream_port;
|
proxy_set_header Host $upstream_app:$upstream_port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ (/qbittorrent)?/scripts {
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
include /config/nginx/resolver.conf;
|
||||||
|
set $upstream_app qbittorrent;
|
||||||
|
set $upstream_port 8080;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
rewrite /qbittorrent(.*) $1 break;
|
||||||
|
|
||||||
|
proxy_set_header Referer '';
|
||||||
|
proxy_set_header Host $upstream_app:$upstream_port;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue