From 47f640f826782ab970e20a1b44b15737920c3f67 Mon Sep 17 00:00:00 2001 From: morepudding Date: Thu, 11 Dec 2025 09:07:13 +0100 Subject: [PATCH] =?UTF-8?q?Forcer=20suppression=20config=20Nginx=20obsol?= =?UTF-8?q?=C3=A8te=20avant=20d=C3=A9ploiement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbook.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbook.yml b/playbook.yml index 14023f8..41f4355 100644 --- a/playbook.yml +++ b/playbook.yml @@ -100,6 +100,11 @@ # Config Nginx supprimée - on utilise uniquement nginx-app-legacy.conf.j2 # qui fait le reverse proxy vers l'app Node.js + - name: Supprimer toute ancienne config Nginx obsolète + file: + path: /etc/nginx/sites-available/defder + state: absent + - name: Déployer la configuration Nginx pour l'app legacy template: src: templates/nginx-app-legacy.conf.j2