413 request entity too large

[ad_1]

​

[Max file size is 128MB])

[I want to upload a file that is barely larger than 2MB])

[ERROR :\(])

[The same error in Network tab])

Can somebody tell me what is going on? I’m using our company’s hosting. I have access to all php and nginx settings. I set PHP settings (max post size and max file upload size) to 128MB, execution time to 500. Nginx is configured to allow 25MB at most. So it should work normally, but this error appears each time I want to upload a file that is more than 1 MB.

Help please

[ad_2]
1 Comment
  1. That’s an Nginx error, so when you say that it’s configured to allow 25mb, how is that done? i.e., what directive do you have in the server config file?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer