Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Prowlarr configs to create /download block #609

Merged
merged 4 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 {
PrivatePasta marked this conversation as resolved.
Show resolved Hide resolved
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;

}