mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Add missing hydra2 api endpoints
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user