From 6d51d72612bb5b673ac2ee03079cc3cce11cc31f Mon Sep 17 00:00:00 2001 From: Gianmarco Mameli Date: Thu, 20 Mar 2025 16:14:35 +0100 Subject: [PATCH 1/2] Add proxy configuration for Plex library streams --- plex.subdomain.conf.sample | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plex.subdomain.conf.sample b/plex.subdomain.conf.sample index accc5a775..813cd6d77 100644 --- a/plex.subdomain.conf.sample +++ b/plex.subdomain.conf.sample @@ -61,4 +61,12 @@ server { proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor; proxy_set_header X-Plex-Model $http_x_plex_model; } + + location /library/streams/ { + set $upstream_app plex; + set $upstream_port 32400; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + proxy_pass_request_headers off; + } } From a3faf77c52f342a74928a3fe38c121c46aa3f8ec Mon Sep 17 00:00:00 2001 From: Gianmarco Mameli Date: Fri, 23 May 2025 11:09:29 +0200 Subject: [PATCH 2/2] Update version number in plex.subdomain.conf.sample to 2025/05/23 --- plex.subdomain.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plex.subdomain.conf.sample b/plex.subdomain.conf.sample index 813cd6d77..8ea6dae5b 100644 --- a/plex.subdomain.conf.sample +++ b/plex.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2024/07/16 +## Version 2025/05/23 # make sure that your plex container is named plex # make sure that your dns has a cname set for plex # if plex is running in bridge mode and the container is named "plex", the below config should work as is