Update the following values in /etc/php.ini:

upload_max_filesize = 20M
post_max_size = 20M

Restart php-fpm

service php-fpm restart

Add the following to the nginx http block:

client_max_body_size 20m;

Restart nginx

service nginx restart
Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@matthewc424.sg-host.com.