I can’t believe it. I’ve been struggling for weeks trying to troubleshoot this issue, I didn’t imagine my reverse proxy was causing certain specific Plex players to stop displaying subtitles. I can’t thank whoever came up with this solution enough! Awesome work!
For those using nginx proxy manager (NPM).
Add location in “Custom locations”
Define it as: /library/streams/
Set same scheme, forward hostname/ip, forward port as you set in the “Details” tab
Click on the gear beside the location - add the following to the textbox below
proxy_pass_request_headers off;
The marked fix does work, however looking into the logs I always see:
upstream sent duplicate header line: "Content-Length: 30652", previous value: "Content-Length: 30652" while reading response header from upstream
conntected to this issue. So, afaict it’s an issue of the plexserver sending to many headers. I’m curious as to how non-reverse-proxy users get around this or if the plex apps natively ignore duplicate headers and nginx is just stubbern and flags it as an error without processing any further