mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Add proxy configuration for Plex library streams
This commit is contained in:
parent
d1fc8c3df6
commit
6d51d72612
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue