将大于10MB的文件发布到AWS Elastic Beanstalk上运行的API时,我遇到"413 Request Entity Too Large"错误.
我做了很多研究,并且相信我需要为Nginx 启动client_max_body_size,但是我似乎无法找到有关如何使用Elastic Beanstalk执行此操作的任何文档.我的猜测是需要使用ebetension文件进行修改.
任何人都有关于如何达到极限的想法?10MB非常弱,必须有一种方法可以手动启动它.
nginx amazon-ec2 amazon-web-services amazon-elastic-beanstalk