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.

gefragt vor einem Jahr131 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen