mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Change regex
This commit is contained in:
parent
1712bb6572
commit
c13e6f8f0f
1 changed files with 3 additions and 3 deletions
|
@ -15,21 +15,21 @@ location /nzbget {
|
|||
proxy_pass http://$upstream_nzbget:6789;
|
||||
}
|
||||
|
||||
location ~ ^/nzbget(/.*)?/jsonrpc {
|
||||
location ~ /nzbget(/[^\/:]*:[^\/:]*)?/jsonrpc {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_nzbget nzbget;
|
||||
proxy_pass http://$upstream_nzbget:6789;
|
||||
}
|
||||
|
||||
location ~ ^/nzbget(/.*)?/jsonprpc {
|
||||
location ~ /nzbget(/[^\/:]*:[^\/:]*)?/jsonprpc {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_nzbget nzbget;
|
||||
proxy_pass http://$upstream_nzbget:6789;
|
||||
}
|
||||
|
||||
location ~ ^/nzbget(/.*)?/xmlrpc {
|
||||
location ~ /nzbget(/[^\/:]*:[^\/:]*)?/xmlrpc {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_nzbget nzbget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue