Reputation: 327
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.
Upvotes: 1
Views: 1995
Reputation: 64
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
Upvotes: 1