mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-24 23:25:38 -07:00
Add additional location for /confirmdeletion
Adding location for /confirmdeletion for better compatibility with Authelia.
This commit is contained in:
parent
a8105afd91
commit
4948bf5e6b
1 changed files with 15 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
## Version 2021/05/18
|
## Version 2021/07/25
|
||||||
# make sure that your dns has a cname set for qbittorrent and that your qbittorrent container is not using a base url
|
# make sure that your dns has a cname set for qbittorrent and that your qbittorrent container is not using a base url
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -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)?/confirmdeletion {
|
||||||
|
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