Problem/Motivation

When I upload some files, those bigger than about 1.4 megabytes get flagged with a 413 error. I've tried increasing the size of the upload_max_size in the php.ini file but that doesn't seem to help.

Is there another configuration file I should try?

Thanks!

CommentFileSizeAuthor
Screenshot from 2024-05-28 16-16-04.png52.14 KBbogdog400

Comments

bogdog400 created an issue. See original summary.

bogdog400’s picture

It looks like an nginx issue. This discussion on reddit pointed me toward nginx:

https://www.reddit.com/r/drupal/comments/13isqjb/getting_413_request_ent...

And this discussion showed one way to add a line to nginx.conf:

https://ubiq.co/tech-blog/increase-file-upload-size-nginx/

I bumped mine up and it solved my issue.

Thx.

kristen pol’s picture

Status: Active » Fixed

Nice! Thanks for the report and fix :)

kristen pol’s picture

Status: Fixed » Closed (fixed)