mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Fix alphebetization of routes
This commit is contained in:
parent
ca5e2dfe6f
commit
a5729ec502
2 changed files with 32 additions and 32 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/06/14
|
||||
## Version 2023/09/05
|
||||
# make sure that your qbittorrent container is named qbittorrent
|
||||
# make sure that your dns has a cname set for qbittorrent
|
||||
|
||||
|
@ -77,6 +77,21 @@ server {
|
|||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
||||
location ~ (/qbittorrent)?/css {
|
||||
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;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
||||
location ~ (/qbittorrent)?/query {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
|
@ -136,19 +151,4 @@ server {
|
|||
proxy_set_header Host $upstream_app:$upstream_port;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
||||
location ~ (/qbittorrent)?/css {
|
||||
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;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/06/14
|
||||
## Version 2023/09/05
|
||||
# make sure that your qbittorrent container is named qbittorrent
|
||||
# qbittorrent does not require a base url setting
|
||||
|
||||
|
@ -64,6 +64,21 @@ location ^~ /qbittorrent/command {
|
|||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/css {
|
||||
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;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/query {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
|
@ -123,18 +138,3 @@ location ^~ /qbittorrent/scripts {
|
|||
proxy_set_header Host $upstream_app:$upstream_port;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
||||
location ^~ /qbittorrent/css {
|
||||
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;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue