plex-nginx-reverseproxy icon indicating copy to clipboard operation
plex-nginx-reverseproxy copied to clipboard

Bring toomuchio config into the 21st century

Open brettpetch opened this issue 2 years ago • 3 comments

Applied a number of optimizations and best-practices for current webstandards, added ssl info.

brettpetch avatar Feb 15 '22 03:02 brettpetch

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.

toomuchio avatar Feb 15 '22 03:02 toomuchio

Interestingly enough I actually saw better IO/Buffers for clients when using the nginx proxy buffers rather than having them off

brettpetch avatar Feb 15 '22 06:02 brettpetch

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.

brettpetch avatar Jul 11 '22 17:07 brettpetch