mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
commit
fc1193f79a
2 changed files with 30 additions and 2 deletions
|
@ -42,6 +42,20 @@ server {
|
||||||
proxy_pass http://$upstream_nzbhydra:5076;
|
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 {
|
location ~ (/nzbhydra)?/torznab/api {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
|
|
|
@ -22,14 +22,28 @@ location ^~ /nzbhydra/api {
|
||||||
proxy_pass http://$upstream_nzbhydra:5076;
|
proxy_pass http://$upstream_nzbhydra:5076;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /nzbhydra/getnzb {
|
location ^~ /nzbhydra/getnzb {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_nzbhydra hydra2;
|
set $upstream_nzbhydra hydra2;
|
||||||
proxy_pass http://$upstream_nzbhydra:5076;
|
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;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_nzbhydra hydra2;
|
set $upstream_nzbhydra hydra2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue