413 Request Entity Too Large nginx/1.14.2

article by: Ray Kamille - just1ray -


Josh was talking about this issue – I’m not sure if it ever got written down.

I got this error while uploading a plugin to sharpermindacademy.com for testing of the ‘git backup routine’ thing I am working on.

Sunday, March 22, 2020 10:56 AM

I’ve checked all the nginx repository files – all set correctly.

I’ve checked all the php files – all set correctly there.

So I started digging into the php-fpm files – because I’m not sure those are set correctly – or even read.

Testing now;

Interesting – I can upload an image… but the plugin upload fails.

I think this might actually be a script execution time error – let me raise that and see what happens.

Nope – it’s the SSL reverse proxy nginx configuration – changed everything back to what it was above… now – how to I alter my scripts to accomodate for this?

Should I do it at the virtual host level? I think so…

#I decided to put this in 'per vhost' in the website factory ssl.virtual_host.conf.j2 template
client_max_body_size 64m;

So – of course this will need to be edited manually for anything that’s live – until or unless I run the scripts against it again… for now I will just do it manually for all the other sites.

Sunday, March 22, 2020 1:45 PM – ok did that… Now I think this is closed for now.


I haven't finished building this yet... but when I am, you will find anything i've referenced here including credits, sources, links, and stuff like that. It's a work in progress - part of my 'relationship crazy' project - you can read all about it here:
About the author:
just1ray
Send message
just1ray

Now is the time for all good men to come to the aid of their country.

Insights? Questions? Answers? Want to get involved?  You are warmly invited.
Leave a reply

- the end - of this one -
- is just the begnining - again - of the other end - and so on - and so forth -

Categorie Titles