413 Request Entity Too Large nginx/1.14.2


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.



Run Toward the Light!

Invitations are Valueable

Get Yours

Subscription Form
Boom - Test Form 1