mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Merge pull request #757 from gianmarco-mameli/plex-fix-external-srt-subtitles-are-not-working
This commit is contained in:
commit
0ea06f4aa0
1 changed files with 9 additions and 1 deletions
|
@ -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 plex container is named plex
|
||||||
# make sure that your dns has a cname set for 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
|
# if plex is running in bridge mode and the container is named "plex", the below config should work as is
|
||||||
|
@ -61,4 +61,12 @@ server {
|
||||||
proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor;
|
proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor;
|
||||||
proxy_set_header X-Plex-Model $http_x_plex_model;
|
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