Login as root Run the command sudo nano /etc/nginx/nginx.conf Add the line under http # set client body size to 64M client_max_body_size 64M; Restart nginx sudo systemctl reload nginx.service Post navigation WordPress multisite in Nginx server Multiple PHP Versions on Ubuntu 18.04