mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Add non-auth locations for qbittorrent
This commit is contained in:
parent
4aeac671a1
commit
8756b187d6
2 changed files with 110 additions and 0 deletions
|
@ -30,4 +30,59 @@ server {
|
|||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/api {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/command {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/query {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/login {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/sync {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,3 +21,58 @@ location ^~ /qbittorrent/ {
|
|||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/api {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/command {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/query {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/login {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/sync {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue