Error 413 Request entity too large


#1

Hey, I've tried to upload files. But the following error is appearing.

Error 413 Request entity too large

Please let me know how to resolve it...


#2

Hi engin,

It is because the file you are trying to upload is greater than max. accepted body size. You need to increase the size limit in nginx.conf
Add ‘client_max_body_size xxM’ inside your server section, where xx is the size in megabytes that you want to allow.

For e.g. if you want to allow 10MB, add inside server section as following

client_max_body_size 10M;  

Hope this helped


#3

Hey,
thanks for your quick reply. It helped

thanks again


#4