Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apps/nginx-strangler/conf.d/routing.conf
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ server {
}

# ── Routes par défaut (pour l'instant dans le legacy) ─────────────────────────
location /api/v1/stages {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 bug: location /api/v1/stages bascule vers server-nestjs sans module stages côté NestJS sur cette branche (recréée de #2497 fermée, partie serveur jamais mergée) → 404 sur toutes les routes stages. Ajouter le module stages NestJS dans cette passe ou avant.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 nit: bloc migré rangé sous l'entête « Routes par défaut (pour l'instant dans le legacy) » — section mensongère. Déplacer sous « Routes migrées vers NestJS » comme en #2739.

proxy_pass http://server-nestjs;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

location /api/ {
proxy_pass http://server-legacy;
proxy_http_version 1.1;
Expand Down
Loading