mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 01:36:39 +02:00
fix(crm): correct Traefik middleware name to cors-api@file
The CORS middleware is named cors-api, not cors-headers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
aa5fc2e44d
commit
a03d1d0586
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ services:
|
||||||
- "traefik.http.routers.crm.rule=PathPrefix(`/api/v1/crm`)"
|
- "traefik.http.routers.crm.rule=PathPrefix(`/api/v1/crm`)"
|
||||||
- "traefik.http.routers.crm.entrypoints=web"
|
- "traefik.http.routers.crm.entrypoints=web"
|
||||||
- "traefik.http.services.crm.loadbalancer.server.port=3100"
|
- "traefik.http.services.crm.loadbalancer.server.port=3100"
|
||||||
- "traefik.http.routers.crm.middlewares=cors-headers@file,security-headers@file"
|
- "traefik.http.routers.crm.middlewares=cors-api@file,security-headers@file"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3100/health"]
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3100/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue