We have an application running on ECS with an Application Load Balancer in front of it. We have a public-facing RESTful API that allows uploading certain types of files.
When sending a file larger than ~1 MB to the Load Balancer, the client receives a 413 Request Entity Too Large
response. This does not happen when directly sending the file to the application's web server.
Is there any way to increase the maximum size of the request body on the ELB?
So far I was only able to find solutions when using Elastic Beanstalk (by providing some nginx configuration in the .ebextension directory of the distribution).