sudo nano /etc/nginx/nginx.conf
Add the last parameter in http {}
client_max_body_size 100M;
Check the settings and restart Nginx
sudo nginx -t sudo systemctl restart nginx