![WordPress HTTP Error when uploading files WordPress HTTP Error when uploading files](https://fsanmartin.co/wp-content/uploads/WordpressHTTPError.png)
Today I got this error when uploading a video to my WordPress site. I Googled around for a little bit, but the proposed solution wasn’t working.
It turns out that since I am using WordPress docker and a Nginx proxy, this later was complaining that the file was too large 413 Request Entity Too Large
when the file was uploaded using the browser uploader, not the WordPress multi-file uploader.
![Wordpress Browser Uploader](http://fsanmartin.co/wp-content/uploads/2017/02/Screen-Shot-2017-01-31-at-8.57.31-PM-1024x183.png)
The solution was easy:
$ vim nginx.conf
http { ... # Added because uploading large files to WordPress is throwing HTTP error. client_max_body_size 64M; ...
In my case since I want my setting to take place for all the websites I am hosting with Nginx I applied the setting under the http
section.
Enjoy