From fb5d8673984ba61925f0de4ab37bb17a623e4ef1 Mon Sep 17 00:00:00 2001 From: IliesAllali Date: Wed, 30 Sep 2026 17:38:16 +0200 Subject: [PATCH] =?UTF-8?q?pm2=20:=20l'API=20de=20production=20n'=C3=A9cou?= =?UTF-8?q?te=20que=20sur=20127.0.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- ecosystem.config.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index 2ef9433..95c9cb7 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -10,6 +10,8 @@ module.exports = { env_production: { NODE_ENV: 'production', PORT: 4000, + # nginx relaie vers 127.0.0.1:4000 (deploy/nginx.conf) : l'API n'écoute pas sur les interfaces publiques + HOST: '127.0.0.1', }, max_memory_restart: '512M', log_date_format: 'YYYY-MM-DD HH:mm:ss Z',