title: 413 Request Entity Too Large when uploading files over Amazon ELB
body: <p>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. </p>
  
  <p>When sending a file larger than ~1 MB to the Load Balancer, the client receives a <code>413 Request Entity Too Large</code> response. This does not happen when directly sending the file to the application's web server. </p>
  
  <p>Is there any way to increase the maximum size of the request body on the ELB?</p>
  
  <p>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). </p>