toomuchio / plex-nginx-reverseproxy

Configuration to serve Plex Media Center https://plex.tv using Nginx https://nginx.com
663 stars 94 forks source link

client_max_body_size included to fix Camera Upload #23

Closed tdabasinskas closed 7 years ago

tdabasinskas commented 7 years ago

Camera Upload feature stops working if Plex Server is behind a Nginx proxy. This is due to default maximum body size being set to 1M. Since photos on the modern phones are larger than that, they cannot be uploaded and Nginx reports the following error:

client intended to send too large body

The PR changes client_max_body_size to a larger one (100M), so the Camera Upload feature could work.