title: How can I increase the client_max_body_size in Elastic Beanstalk
body: <p>I am using Golang with elastic Beanstalk and I find that I am able to upload files up to 1 MB and the ones bigger than that fail with the error <strong>client intended to send too large body: 1749956 bytes</strong> the bytes obviously depend on the file size . I have been reading this post <a href="https://stackoverflow.com/questions/18908426/increasing-client-max-body-size-in-nginx-conf-on-aws-elastic-beanstalk">Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk</a> and I changed my code created a file 01_nginx.config under the ebExtensions and put the following in it and I try to upload a video of 3 MB and it still gives that error, any suggestions ? I am new to this</p>
  
  <pre><code>files:
      "/etc/nginx/conf.d/proxy.conf" :
          mode: "000755"
          owner: root
          group: root
          content: |
             client_max_body_size 20M;
  </code></pre>