Author Topic: HTTP Error when uploading images to wordpress  (Read 16170 times)

0 Members and 1 Guest are viewing this topic.

Offline digiSal

  • Administrator
  • Sr. Member
  • *****
  • Posts: 495
  • Gender: Male
    • View Profile
    • digiSal
HTTP Error when uploading images to wordpress
« on: July 27, 2018, 07:13:12 pm »
I use an NGINX web server on my Ubuntu server and I kept getting HTTP Error when uploading images.

These links helped me fix it:
https://wordimpress.com/wordpress-nginx-http-error-on-image-uploader-fix/#comment-57740
https://wordpress.org/support/topic/http-error-on-image-uploader-1/

I had to edit:
Code: [Select]
/etc/nginx/nginx.conf
and add
Code: [Select]
client_max_body_size 100m;
to the http{} section.

I reloaded nginx with
Code: [Select]
sudo systemctl reload nginx
and the error went away.