Skip to content

Commit a5729ec

Browse files
authored
Fix alphebetization of routes
1 parent ca5e2df commit a5729ec

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

qbittorrent.subdomain.conf.sample

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/06/14
1+
## Version 2023/09/05
22
# make sure that your qbittorrent container is named qbittorrent
33
# make sure that your dns has a cname set for qbittorrent
44

@@ -77,7 +77,7 @@ server {
7777
proxy_set_header X-Forwarded-Host $host;
7878
}
7979

80-
location ~ (/qbittorrent)?/query {
80+
location ~ (/qbittorrent)?/css {
8181
include /config/nginx/proxy.conf;
8282
include /config/nginx/resolver.conf;
8383
set $upstream_app qbittorrent;
@@ -92,7 +92,7 @@ server {
9292
proxy_set_header X-Forwarded-Host $host;
9393
}
9494

95-
location ~ (/qbittorrent)?/login {
95+
location ~ (/qbittorrent)?/query {
9696
include /config/nginx/proxy.conf;
9797
include /config/nginx/resolver.conf;
9898
set $upstream_app qbittorrent;
@@ -107,7 +107,7 @@ server {
107107
proxy_set_header X-Forwarded-Host $host;
108108
}
109109

110-
location ~ (/qbittorrent)?/sync {
110+
location ~ (/qbittorrent)?/login {
111111
include /config/nginx/proxy.conf;
112112
include /config/nginx/resolver.conf;
113113
set $upstream_app qbittorrent;
@@ -122,7 +122,7 @@ server {
122122
proxy_set_header X-Forwarded-Host $host;
123123
}
124124

125-
location ~ (/qbittorrent)?/scripts {
125+
location ~ (/qbittorrent)?/sync {
126126
include /config/nginx/proxy.conf;
127127
include /config/nginx/resolver.conf;
128128
set $upstream_app qbittorrent;
@@ -137,7 +137,7 @@ server {
137137
proxy_set_header X-Forwarded-Host $host;
138138
}
139139

140-
location ~ (/qbittorrent)?/css {
140+
location ~ (/qbittorrent)?/scripts {
141141
include /config/nginx/proxy.conf;
142142
include /config/nginx/resolver.conf;
143143
set $upstream_app qbittorrent;

qbittorrent.subfolder.conf.sample

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/06/14
1+
## Version 2023/09/05
22
# make sure that your qbittorrent container is named qbittorrent
33
# qbittorrent does not require a base url setting
44

@@ -64,7 +64,7 @@ location ^~ /qbittorrent/command {
6464
proxy_set_header X-Forwarded-Host $host;
6565
}
6666

67-
location ^~ /qbittorrent/query {
67+
location ^~ /qbittorrent/css {
6868
include /config/nginx/proxy.conf;
6969
include /config/nginx/resolver.conf;
7070
set $upstream_app qbittorrent;
@@ -79,7 +79,7 @@ location ^~ /qbittorrent/query {
7979
proxy_set_header X-Forwarded-Host $host;
8080
}
8181

82-
location ^~ /qbittorrent/login {
82+
location ^~ /qbittorrent/query {
8383
include /config/nginx/proxy.conf;
8484
include /config/nginx/resolver.conf;
8585
set $upstream_app qbittorrent;
@@ -94,7 +94,7 @@ location ^~ /qbittorrent/login {
9494
proxy_set_header X-Forwarded-Host $host;
9595
}
9696

97-
location ^~ /qbittorrent/sync {
97+
location ^~ /qbittorrent/login {
9898
include /config/nginx/proxy.conf;
9999
include /config/nginx/resolver.conf;
100100
set $upstream_app qbittorrent;
@@ -109,7 +109,7 @@ location ^~ /qbittorrent/sync {
109109
proxy_set_header X-Forwarded-Host $host;
110110
}
111111

112-
location ^~ /qbittorrent/scripts {
112+
location ^~ /qbittorrent/sync {
113113
include /config/nginx/proxy.conf;
114114
include /config/nginx/resolver.conf;
115115
set $upstream_app qbittorrent;
@@ -124,7 +124,7 @@ location ^~ /qbittorrent/scripts {
124124
proxy_set_header X-Forwarded-Host $host;
125125
}
126126

127-
location ^~ /qbittorrent/css {
127+
location ^~ /qbittorrent/scripts {
128128
include /config/nginx/proxy.conf;
129129
include /config/nginx/resolver.conf;
130130
set $upstream_app qbittorrent;

0 commit comments

Comments
 (0)