413 Request Entity Too Large – Cant upload backup files with backup manager

If you are getting such error while uploading a file in the website, then I suggest you to follow the below steps:

Take the backup of the configuration file of the NGINX


# cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bkp

Add client_max_body_size 0; (or 100m) to /etc/nginx/nginx.conf and reload nginx proxy server using the below command:


# /etc/init.d/nginx reload

(Note: If ‘client_max_body_size’ entry is not there in the above file, then you can simply insert it under ‘http {‘ section )

If you are getting such error while uploading a file in Plesk Panel (not while uploading in website), I suggest you to follow the below steps:

Increase ‘client_max_body_size’ value accordingly in ‘/etc/sw-cp-server/config’ config file, for e.g. if the file’s size is 4.5GB, you can set the value to 5120m (5120MB).


# grep client_max_body_size /etc/sw-cp-server/config
client_max_body_size 5120m; 

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.