mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Add missing hydra2 api endpoints
This commit is contained in:
parent
78d4739823
commit
87b1485bc7
2 changed files with 29 additions and 0 deletions
|
@ -34,4 +34,19 @@ server {
|
||||||
set $upstream_nzbhydra hydra2;
|
set $upstream_nzbhydra hydra2;
|
||||||
proxy_pass http://$upstream_nzbhydra:5076;
|
proxy_pass http://$upstream_nzbhydra:5076;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ (/nzbhydra)?/getnzb {
|
||||||
|
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;
|
||||||
|
set $upstream_nzbhydra hydra2;
|
||||||
|
proxy_pass http://$upstream_nzbhydra:5076;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,3 +21,17 @@ location ^~ /nzbhydra/api {
|
||||||
set $upstream_nzbhydra hydra2;
|
set $upstream_nzbhydra hydra2;
|
||||||
proxy_pass http://$upstream_nzbhydra:5076;
|
proxy_pass http://$upstream_nzbhydra:5076;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /nzbhydra/getnzb {
|
||||||
|
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;
|
||||||
|
set $upstream_nzbhydra hydra2;
|
||||||
|
proxy_pass http://$upstream_nzbhydra:5076;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue