Aaron Holbrook
by Aaron Holbrook
~1 min read

Categories

This was a fun little issue to come across - I’ve been using Nginx as my local development server and so far have had few complications, however anytime I went to upload an image I would get a very vague HTTP Error from WordPress.

After googling and coming up with everything ranging from disabling plugins to changing your .htaccess file (um, sorry probably not going to help since I’m using Nginx and you know, Nginx doesn’t use .htaccess files), I found this little gem.

What you want to do is add client_max_body_size 100m; to the http{} block section of your nginx .conf file like so:

http {
	client_max_body_size 100m;
}

So nice to figure that one out.