WordPress, HTTP Error, 413 Request Entity Too Large
After moving my WordPress site from a LAMP to a LEMP stack (replacing Apache with Nginx), I wanted to upload some new images — but I couldn’t. I either got a “HTTP Error” or “413 Request Entity Too Large”. So I started my research.
After adding “client_max_body_size 20M;” to the server section of the nginx site configuration the upload worked as expected.
Originally published at Coding, beautiful appearances and some.