mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-14 02:27:24 -07:00
standardize upstream_app variable
This commit is contained in:
parent
c2ae00ce52
commit
06a1941230
136 changed files with 430 additions and 430 deletions
|
@ -14,65 +14,65 @@ location ^~ /qbittorrent/ {
|
|||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
set $upstream_app qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/api {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
set $upstream_app qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/command {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
set $upstream_app qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/query {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
set $upstream_app qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/login {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
set $upstream_app qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/sync {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_qbittorrent qbittorrent;
|
||||
set $upstream_app qbittorrent;
|
||||
rewrite /qbittorrent(.*) $1 break;
|
||||
proxy_pass http://$upstream_qbittorrent:8080;
|
||||
proxy_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_qbittorrent:8080;
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue