How to

Ubuntu fix Nginx WordPress can’t upload mp3 HTTP error

Ubuntu fix Nginx WordPress can't upload mp3 HTTP error





When you install hosting Website using Nginx….. ( WordPress ) by the default Nginx config system will block your website can’t upload Sound .mp3, and when you upload will have an error “mp3 HTTP error”.

The solution you need to change the default system configure on the Nginx system ( client_max_body_size 4m; change to client_max_body_size 100m; ), So when change the on the default configure Nginx your website can upload the sound mp3 file.

Follow step by step for change default configure Nginx can upload the Mp3 file.

$ sudo nano  /etc/nginx/nginx.conf
  • Change client_max_body_size 4m; to client_max_body_size 100m;

When you change client_max_body_size 100m; finish type Ctrl + X and Y for save file and command on the bellow for restart Service Nginx.

$ sudo service nginx restart

Conclusion

This shows can fix your problem on your server Hosting using Nginx by can’t upload the Sound mp3 file, So we think that you can do that by yourself.

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

To Top