Table of Contents
The 413 Request Entity Too Large error occurs when you try to upload or make a client request that is too large to be processed by the web server. It also indicates that the web server is configured to restrict large file sizes.
At Cloudways, Nginx is the upstream web server and sets the HTTP request size. By default, the size of the client request body in Nginx is set to 10 MB. If the request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Therefore, we need to tweak the web server settings to allow larger client requests.
In this tutorial, we will show how to fix the 413 Request Entity Too Large error using the Cloudways Platform.
How to Fix 413 Request Entity Too Large Error
Fix 413 Request Entity Too Large Error — Navigate to Server Settings
Log in to your Cloudways Platform using your email address and password.
From the top menu bar, open Servers.
Then, choose your desired server.
Classic Interface
New Interface
Under Server Management, select Settings & Packages.
Classic Interface
New Interface
Fix 413 Request Entity Too Large Error — Modifying Upload Size
Modify the Upload Size value (in Megabytes) to your preference.
Finally, click Save Changes.
Tip
If the file size you want to allow is greater than what we have set, adjust the Upload Size to be greater than the file size.
Classic Interface
New Interface
That’s it! We hope this tutorial was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.