Skip to content

Commit

Permalink
Merge pull request linuxserver#609 from PrivatePasta/patch-2
Browse files Browse the repository at this point in the history
Update Prowlarr configs to create /download block
  • Loading branch information
nemchik authored Oct 17, 2023
2 parents b431188 + 2af316a commit a3e60f7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion prowlarr.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2023/05/31
## Version 2023/09/13
# make sure that your prowlarr container is named prowlarr
# make sure that your dns has a cname set for prowlarr

Expand Down Expand Up @@ -51,4 +51,14 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}

location ~ (/prowlarr)?(/[0-9]+)?/download {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app prowlarr;
set $upstream_port 9696;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
}
12 changes: 11 additions & 1 deletion prowlarr.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2023/02/05
## Version 2023/09/13
# make sure that your prowlarr container is named prowlarr
# make sure that prowlarr is set to work with the base url /prowlarr/

Expand Down Expand Up @@ -34,3 +34,13 @@ location ~ /prowlarr(/[0-9]+)?/api {
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}

location ~ /prowlarr(/[0-9]+)?/download {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app prowlarr;
set $upstream_port 9696;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}

0 comments on commit a3e60f7

Please sign in to comment.