Tag Archive for 'client_max_body_size'

Nginx: change the upload size limit

I learned today that the client_max_body_size directive in nginx.conf controls Nginx’s upload size limit. The default value appears to be 1MB. To allow uploads of up to 10MB, insert this line in nginx.conf:

client_max_body_size 10M

If you liked this post, please subscribe to my feed. Thanks for visiting!