Search code examples
node.jsamazon-web-servicesnginxamazon-elastic-beanstalkhttp-status-code-413

413 entity too large, nginx nodejs on elastic beanstalk


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


Solution

  • 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.