Nginx Custom Config in Elastic BeanStalk Docker Plateform

0

I'm using EB Env with Docker Platform to Deploy my NodeJS Application as Nginx Proxy With Immutable Deployment Pattern. I got errors related to large files upload, timeout etc. Now i want to overrides the configs for the Nginx.

I'v created the .platform/nginx/conf.d/proxy.conf in the root of the project of NestJS with the conent;

client_max_body_size 100M;

How I deploy;

  • Build docker image on github actions
  • Push the Image on ECR, and Update the Dockerrun.aws.json with latest URL of ECR repo
  • Trigger EB Deployment using Dockerrun.aws.json

Now when i connect to the new Instance Created after deployment, I go to /etc/nginx/conf.d/elasticbeanstalk and i can't see the proxy.conf file there, not event the config i applied in any of the nginx config.

$ tree
.
├── conf.d
│   ├── elasticbeanstalk
│   │   └── healthd.conf
│   ├── elasticbeanstalk-nginx-docker-upstream.conf
│   └── healthd_logformat.conf
├── default.d
├── fastcgi.conf
├── fastcgi.conf.default
├── fastcgi_params
├── fastcgi_params.default
├── koi-utf
├── koi-win
├── mime.types
├── mime.types.default
├── nginx.conf
├── nginx.conf.default
├── scgi_params
├── scgi_params.default
├── uwsgi_params
├── uwsgi_params.default
└── win-utf

What I'm doing wrong here.

질문됨 일 년 전131회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠