1

I am running into Maximum request length exceeded when i upload images into my application which is deployed on AWS Elastic Beanstalk. I was wonder how do i configure it to be able to accept larger image size in.

I am using ASP.NET in elastic Beanstalk and using AWS free tier. t2.micro for Elastic Beanstalk environment setup.

lel
  • 327
  • 7
  • 26
  • @seb how do it do it? i cant run the RDS upon downloading it. – lel Nov 01 '17 at 02:34
  • Actually my bad I gave a wrong info. Modifying the instance is a bad practice! If it's a IIS limitations (check Jitendra answer first), then I guess you will have to change the web.config you deploy https://stackoverflow.com/questions/3853767/maximum-request-length-exceeded –  Nov 01 '17 at 05:11

1 Answers1

1

The elastic beanstalk has the nginx as proxy for your application server and client. I guess nginx configuration can help you to increase the max size for the requests from clients to your server deployed on ELB. Refer this Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk