More hydra2 endpoints

This commit is contained in:
Eric Nemchik 2019-08-15 20:02:08 -05:00
commit f3f0b40509
2 changed files with 30 additions and 2 deletions

View file

@ -42,6 +42,20 @@ server {
proxy_pass http://$upstream_nzbhydra:5076;
}
location ~ (/nzbhydra)?/gettorrent {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_nzbhydra hydra2;
proxy_pass http://$upstream_nzbhydra:5076;
}
location ~ (/nzbhydra)?/rss {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_nzbhydra hydra2;
proxy_pass http://$upstream_nzbhydra:5076;
}
location ~ (/nzbhydra)?/torznab/api {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;