Edit the conf file of nginx:
nano /etc/nginx/nginx.conf
Add a line in the http section:
http {
client_max_body_size 100M;
}
Doen't use MB it will not work, only the M!
Also do not forget to restart nginx
systemctl restart nginx
nano /etc/nginx/nginx.conf
http {
client_max_body_size 100M;
}
systemctl restart nginx