# REX technique: 502 sur /lecoffre - Symptôme: 502 Bad Gateway via Nginx, recv failed - Cause: build Next.js initial non terminé; mémoire Node insuffisante - Actions: - Ajout NODE_OPTIONS max-old-space-size 2048 au service lecoffre-front - Relance propre du conteneur (stop, rm, up) - Vérification présence .next et démarrage next start - Test via curl: HTTP 200 sur /lecoffre