Bring toomuchio config into the 21st century#58
Bring toomuchio config into the 21st century#58brettpetch wants to merge 16 commits intotoomuchio:masterfrom
Conversation
|
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 |
Per log from Plex, this will be required to avoid 400 in the near future.
due to warning in plex logs
|
|
|
|
||
| #Upstream to Plex | ||
| upstream plex_backend { | ||
| #Set this to the IP address that appears in `ifconfig` (NATTED LAN IP or Public IP address) if you want the bandwidth meter in the server status page to work |
There was a problem hiding this comment.
Why have you removed this comment? The bandwidth charts in dashboard (Plex Pass feature) no longer work when using your exact config. Changing it to point to my local LAN IP (192.168.1.222), the bandwidth charts work again perfectly. (And yes, I'm using the set_real_ip_from and real_ip_header and such correctly)
| #add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always; | ||
|
|
||
| #Plex has A LOT of javascript, xml and html. This helps a lot, but if it causes playback issues with devices turn it off. (Haven't encountered any yet) | ||
| gzip on; |
There was a problem hiding this comment.
Did you encounter issues having gzip enabled, you accidentally removed it, or just didn't think it helps?
Applied a number of optimizations and best-practices for current webstandards, added ssl info.