External SRT subtitles are not working w/ reverse proxy

I was told by a few people that adding this additional location block to the SWAG’s nginx config for plex fixes the issue with external subtitles:

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;
}

I don’t have time to test it right now, so please let me know if it works and I’ll update this post later after I test it myself.

3 Likes