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
Found this post from 2023 with the same issue.
Duplicates: 1