mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-24 23:56:40 +02:00
fix(crm): add Host rule and priority to Traefik router
Core-api router with Host+PathPrefix(/api) was catching CRM requests. Added Host rule and priority=100 to ensure CRM router takes precedence for /api/v1/crm/* paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a03d1d0586
commit
525fe006e9
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,8 @@ services:
|
|||
- insight-cache
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.crm.rule=PathPrefix(`/api/v1/crm`)"
|
||||
- "traefik.http.routers.crm.rule=Host(`172.20.10.59`) && PathPrefix(`/api/v1/crm`)"
|
||||
- "traefik.http.routers.crm.priority=100"
|
||||
- "traefik.http.routers.crm.entrypoints=web"
|
||||
- "traefik.http.services.crm.loadbalancer.server.port=3100"
|
||||
- "traefik.http.routers.crm.middlewares=cors-api@file,security-headers@file"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue