mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-14 10:37:20 -07:00
Add Port and Proto variables
This commit is contained in:
parent
a8c9468d1f
commit
0c24b78a0b
136 changed files with 856 additions and 260 deletions
|
@ -15,8 +15,11 @@ location ^~ /qbittorrent/ {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
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_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
|
@ -26,8 +29,11 @@ location ^~ /qbittorrent/api {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
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_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
|
@ -37,8 +43,11 @@ location ^~ /qbittorrent/command {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
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_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
|
@ -48,8 +57,11 @@ location ^~ /qbittorrent/query {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
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_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
|
@ -59,8 +71,11 @@ location ^~ /qbittorrent/login {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
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_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
|
@ -70,8 +85,11 @@ location ^~ /qbittorrent/sync {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
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_pass http://$upstream_app:8080;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue