Skip to content

Reverse Proxy (SWAG NGINX)

pannal edited this page Nov 5, 2024 · 2 revisions

If you're running your Plex server behind a reverse proxy, make sure requests to the /streams endpoint are unbuffered, not chunked and with as little proxy handling as possible. Such as:

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

Note: No proxy.conf is included in this example.

Otherwise you might see issues with external subtitles not being shown.