how to increase nginx maximum file upload size code example
Example: how to increase nginx maximum file upload size
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