From 5096bccce99dded7e777351d9fee0fba862efb53 Mon Sep 17 00:00:00 2001 From: PrivatePasta <63346955+PrivatePasta@users.noreply.github.com> Date: Wed, 13 Sep 2023 17:51:37 +0530 Subject: [PATCH 1/5] Update prowlarr.subfolder.conf.sample Downloads through Radarr seems to make requests to Prowlarr at /download instead of /api. In the old config, if the Authelia config is enabled, these /download requests would be blocked by Authelia --- prowlarr.subfolder.conf.sample | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/prowlarr.subfolder.conf.sample b/prowlarr.subfolder.conf.sample index b67d44e..cb37349 100644 --- a/prowlarr.subfolder.conf.sample +++ b/prowlarr.subfolder.conf.sample @@ -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/ @@ -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; + +} From b6cc0482a9ffdb8d206312ee93905b6f5f3c8b47 Mon Sep 17 00:00:00 2001 From: PrivatePasta <63346955+PrivatePasta@users.noreply.github.com> Date: Sun, 17 Sep 2023 02:48:46 +0530 Subject: [PATCH 2/5] Update prowlarr.subdomain.conf.sample with /download endpoint --- prowlarr.subdomain.conf.sample | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/prowlarr.subdomain.conf.sample b/prowlarr.subdomain.conf.sample index f54cf54..b6dc5a4 100644 --- a/prowlarr.subdomain.conf.sample +++ b/prowlarr.subdomain.conf.sample @@ -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 @@ -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; + + } } From 12046b8415cf5f97acc7b7be9ed624f0e3ad1c8b Mon Sep 17 00:00:00 2001 From: RagingCub Date: Sun, 15 Oct 2023 16:45:33 -0400 Subject: [PATCH 3/5] Add template for grampsweb --- grampsweb.subdomain.conf.sample | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 grampsweb.subdomain.conf.sample diff --git a/grampsweb.subdomain.conf.sample b/grampsweb.subdomain.conf.sample new file mode 100644 index 0000000..e39f442 --- /dev/null +++ b/grampsweb.subdomain.conf.sample @@ -0,0 +1,56 @@ +## Version 2023/10/15 +# make sure that your grampsweb container is named grampsweb +# make sure that your dns has a cname set for grampsweb + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name grampsweb.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 500m; + + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) + #include /config/nginx/authelia-server.conf; + + # enable for Authentik (requires authentik-location.conf in the location block) + #include /config/nginx/authentik-server.conf; + + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; + + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; + + # enable for Authentik (requires authentik-server.conf in the server block) + #include /config/nginx/authentik-location.conf; + + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app grampsweb; + set $upstream_port 5000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } + + location ~ (/)?/api { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app grampsweb; + set $upstream_port 5000; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } +} From f8fef63a9e6d0667e37e71651f640eb85674970f Mon Sep 17 00:00:00 2001 From: PrivatePasta <63346955+PrivatePasta@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:26:10 +0530 Subject: [PATCH 4/5] Update prowlarr.subdomain.conf.sample Co-authored-by: Eric Nemchik --- prowlarr.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prowlarr.subdomain.conf.sample b/prowlarr.subdomain.conf.sample index b6dc5a4..1162da7 100644 --- a/prowlarr.subdomain.conf.sample +++ b/prowlarr.subdomain.conf.sample @@ -52,7 +52,7 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - location ~ /prowlarr(/[0-9]+)?/download { + location ~ (/prowlarr)?(/[0-9]+)?/download { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app prowlarr; From 270a2c77db53a2b6c45e54b3ac6b0dc4386e252e Mon Sep 17 00:00:00 2001 From: Loup Labelle <22670054+RagingCub@users.noreply.github.com> Date: Tue, 17 Oct 2023 09:52:55 -0400 Subject: [PATCH 5/5] Update grampsweb.subdomain.conf.sample Co-authored-by: Eric Nemchik --- grampsweb.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grampsweb.subdomain.conf.sample b/grampsweb.subdomain.conf.sample index e39f442..6d77c7a 100644 --- a/grampsweb.subdomain.conf.sample +++ b/grampsweb.subdomain.conf.sample @@ -44,7 +44,7 @@ server { } - location ~ (/)?/api { + location ~ (/grampsweb)?/api { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app grampsweb;