digiSal.com Forums About Nothing

Tech Talk => Site News => Topic started by: digiSal on July 27, 2018, 07:13:12 pm

Title: HTTP Error when uploading images to wordpress
Post by: digiSal 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.