Como aumentar o tamanho do upload do arquivo nginx máximo
sudo nano /etc/nginx/nginx.conf
# edit/add the following line
client_max_body_size 8M; # put the size that is enough
sudo nano /etc/php/php.ini
# edit the following
upload_max_filesize=8M # also put what is enough
Emmanuel Mahuni