If you are constantly running into 413s and none of the regular solutions such as these are working, then give this a read!
If you have used certbot to generate SSL for your site, you will see these new ssl conf files


If you had any old setting before you certified, they persist in these ssl.conf files even if you change your site’s regular conf file.
I had set my LimitRequestBody to 100kb when I just started as a test and then certified using
certbot –apache
I then edited my .conf file with LimitRequestBody 16777216 (16 mb in bytes) but nothing changed on my site. I kept getting 413s and it’s all because the ssl.conf never updated.
After updating the ssl.conf file, the 413s stopped and all was well!
