mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
More hydra2 endpoints
This commit is contained in:
parent
4de29acc85
commit
f3f0b40509
2 changed files with 30 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -22,14 +22,28 @@ location ^~ /nzbhydra/api {
|
|||
proxy_pass http://$upstream_nzbhydra:5076;
|
||||
}
|
||||
|
||||
location /nzbhydra/getnzb {
|
||||
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 {
|
||||
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;
|
||||
set $upstream_nzbhydra hydra2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue