Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: WordPress Nginx HTTP error on Image Uploader Fix  (Read 1214 times)

0 Members and 1 Guest are viewing this topic.

joseletk

  • Guest
WordPress Nginx HTTP error on Image Uploader Fix
« on: July 10, 2018, 12:49:23 pm »
1. SSH to your machine using terminal, putty, etc.

2. Open your nginx.conf file with your favorite editor

Code: [Select]
# sudo nano /etc/nginx/nginx.conf

3. Add client_max_body_size 100m; to the http { } section of your site.

Code: [Select]
http {
     
        #Basic Settings       
        client_max_body_size 100m;
 
}

4. Restart Nginx service sudo service nginx restart

Test the upload again and see if this has resolved your issues.

============================================================