Tech Talk > Site News

HTTP Error when uploading images to wordpress

(1/1)

digiSal:
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: ---/etc/nginx/nginx.conf
--- End code ---

and add

--- Code: ---client_max_body_size 100m;
--- End code ---

to the http{} section.

I reloaded nginx with

--- Code: ---sudo systemctl reload nginx
--- End code ---

and the error went away.

Navigation

[0] Message Index

Go to full version