Add proxy configuration for Plex library streams

This commit is contained in:
Gianmarco Mameli
2025-03-20 16:14:35 +01:00
parent d1fc8c3df6
commit 6d51d72612
+8
View File
@@ -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;
}
}