plex-nginx-reverseproxy
plex-nginx-reverseproxy copied to clipboard
Bring toomuchio config into the 21st century
Applied a number of optimizations and best-practices for current webstandards, added ssl info.
There's some good stuff in here, I have an updated copy that's very similar I just haven't pushed as I forgot.
Your cfg is one that'll replace the base nginx.conf as well mind you, this was just intended to be dropped into conf.d/sites-enabled.
Interestingly enough I actually saw better IO/Buffers for clients when using the nginx proxy buffers rather than having them off
proxy_set_header X-Plex-Container-Size $http_x_plex_container_size;
is required because of this log warning from Plex
Jul 11, 2022 17:41:19.341 [0x7f106b0e0b38] WARN - [Req#c3e9] Missing X-Plex-Container-Size header. This will fail with status code 400 in the future.