mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Merge pull request #80 from nemchik/hydra2-api
Add missing hydra2 api endpoints
This commit is contained in:
commit
ad76fd2b9e
2 changed files with 29 additions and 0 deletions
|
@ -34,4 +34,19 @@ server {
|
|||
set $upstream_nzbhydra hydra2;
|
||||
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;
|
||||
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