mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Update nzbget.subdomain.conf.sample
This commit is contained in:
parent
b7271d8053
commit
05f93232eb
1 changed files with 7 additions and 0 deletions
|
@ -26,4 +26,11 @@ server {
|
||||||
set $upstream_nzbget nzbget;
|
set $upstream_nzbget nzbget;
|
||||||
proxy_pass http://$upstream_nzbget:6789;
|
proxy_pass http://$upstream_nzbget:6789;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ (/nzbget)?/(jsonrpc|jsonprpc|xmlrpc) {
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
resolver 127.0.0.11 valid=30s;
|
||||||
|
set $upstream_nzbget nzbget;
|
||||||
|
proxy_pass http://$upstream_nzbget:6789;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue