最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon ec2 - Nginx - 413 Request Entity Too Large - Stack Overflow

programmeradmin0浏览0评论

I have developed a flask application and deployed it in an Elastic Beanstalk environment. Currently using Amazon Linux 2023. What im trying is to upload a 40mb file through my application and keep getting 413 Request Entity Too Large.

As im using Amazon Linux 2023, i have a .plaform folder in the root of my project and 01_nginx.config inside it.

# .platform/01_nginx.config
files:
  "/nginx/conf.d/elasticbeanstalk/01_nginx.config":
    mode: "000644"
    owner: root
    group: root
    content: |
      client_max_body_size 200M;
      

I see this is working for many people but im keep struggling to find why this is not working for me.

发布评论

评论列表(0)

  1. 暂无评论