A bit of extra config is necessary for nginx to handle files larger than 1mb,

It's probably worth putting a note about this into the setup instructions for this module, just in case anyone else, like me, wasn't aware of this.

  #Fix for error 413 request entity too large for files > 1MB
  #In Drupal seen as http error 0 when trying to upload file
  client_max_body_size 500M;  # or whatever max file upload size you need
  client_body_buffer_size 128k;

Comments

smoothify’s picture

Title: HTTP error 0 » Large file uploads can cause HTTP error 0

Thanks for this, I agree this is worth adding to the README.txt.

For now, i'm changing the title to make it easier for others to find this issue.

nagrgk’s picture

Hi,

I am getting following alert while trying to upload more than given limit.

An HTTP error 413 occurred.
/filefield/ahah/business_portfolio/field_business_portfolio_video/0

How do i solve this ? Suggestion please....