Skip to content

Commit 6d51d72

Browse files
Add proxy configuration for Plex library streams
1 parent d1fc8c3 commit 6d51d72

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

plex.subdomain.conf.sample

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,12 @@ server {
6161
proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor;
6262
proxy_set_header X-Plex-Model $http_x_plex_model;
6363
}
64+
65+
location /library/streams/ {
66+
set $upstream_app plex;
67+
set $upstream_port 32400;
68+
set $upstream_proto http;
69+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
70+
proxy_pass_request_headers off;
71+
}
6472
}

0 commit comments

Comments
 (0)