413 entity too large, nginx nodejs on elastic beanstalk

368 Views Asked by At

Using AWS Elastic Beanstalk, node: 12.13.1.

I am making put/post requests with images bigger than 1mb, and edited config files different ways to accept 10m files.

No matter the solution I tried, the server keeps rejecting requests with the same 413 error message.

I've tried:

config folders

config file 2

config file 3

I would appreciate anyone with a working alternative. Thank you

1

There are 1 best solutions below

0
On BEST ANSWER

I fixed the issue, Some files starting with "." are hidden and have to be brought up with command + shift + "." . Once the platform file is visible in the folder, and uploaded, it will work and increase the limit.