Skip to content

Use nginx official image for both client and nginx-strangler#2171

Open
StephaneTrebel wants to merge 3 commits into
mainfrom
use-nginx-official-image
Open

Use nginx official image for both client and nginx-strangler#2171
StephaneTrebel wants to merge 3 commits into
mainfrom
use-nginx-official-image

Conversation

@StephaneTrebel

@StephaneTrebel StephaneTrebel commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Issues liées

Issues numéro: #2148

Information intéressante: La substitution des var d'env dans les configurations Nginx est naturellement prise en compte par l'image officielle (cf https://hub.docker.com/_/nginx#using-environment-variables-in-nginx-configuration-new-in-119)

Donc, pas besoin d'entrypoint.sh pour nginx-strangler.

En revanche, pour client, on a quand même besoin d'une substitution pour les assets JavaScript car ils sont servi tels quels par nginx, mais se traînent des OPENCDS_ENABLED, etc.
On partirait donc sur la piste de conserver la substitution, mais avec un script qui serait exécuté au démarrage de nginx en le mettant dans docker-entrypoint.d

ToDo

  • Utiliser l'image nginx officielle pour client
  • Utiliser l'image nginx officielle pour nginx-strangler
  • Tester le dev local (via docker compose) avec des images en target: dev (integ par ex)
  • Tester le dev local (via docker compose) avec des images en target: prod (⚠️ N'existe pas, à créer ⚠️)
  • Tester sur la PAX (via preview)
  • Tester sur l'Integ MI (🛑️ Comment ? 🛑️). S'assurer que la mécanique du UID est la même qu'en Prod afin d'éviter les soucis de droits

@StephaneTrebel StephaneTrebel added this to the MCO milestone Jun 1, 2026
@StephaneTrebel StephaneTrebel self-assigned this Jun 1, 2026
@StephaneTrebel StephaneTrebel changed the title Use nginx official image Use nginx official image for both client and nginx-strangler Jun 1, 2026
@github-actions github-actions Bot added the built label Jun 1, 2026
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

@StephaneTrebel StephaneTrebel added the preview Deploy preview app with Argo-cd label Jun 1, 2026
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🤖 Hey !

A preview of the application is available at : https://console-pr-2171.dso.cpin-hp.numerique-interieur.fr

Please be patient, deployment may take a few minutes.

@StephaneTrebel StephaneTrebel force-pushed the use-nginx-official-image branch 2 times, most recently from 95a4d4a to 0432546 Compare June 1, 2026 14:39
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

1 similar comment
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

@iliesmrf iliesmrf modified the milestones: MCO, Migration NestJS Jun 7, 2026
@StephaneTrebel StephaneTrebel force-pushed the use-nginx-official-image branch 3 times, most recently from 9ffe1e5 to 84b8bf5 Compare June 11, 2026 14:01
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

@StephaneTrebel StephaneTrebel force-pushed the use-nginx-official-image branch 2 times, most recently from 14df211 to e0bea10 Compare June 11, 2026 14:13
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

@StephaneTrebel StephaneTrebel requested a review from shikanime June 11, 2026 15:04
@StephaneTrebel StephaneTrebel linked an issue Jun 12, 2026 that may be closed by this pull request
@StephaneTrebel StephaneTrebel force-pushed the use-nginx-official-image branch from e0bea10 to aee64fe Compare June 16, 2026 07:12
@cloud-pi-native-sonarqube

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Hey !

The security scan report for the current pull request is available here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

built preview Deploy preview app with Argo-cd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revoir les images nginx de client et nginx-strangler

3 participants