mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-05 11:26:32 +08:00
Update RPC endpoints
Allows credentials to be passed through the URL for apps like LunaSea
This commit is contained in:
parent
6a51a6aff3
commit
0c5520e512
@ -28,21 +28,21 @@ server {
|
||||
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…
x
Reference in New Issue
Block a user