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:
Thomas Reitz 2026-03-10 17:38:13 +01:00
parent aa5fc2e44d
commit a03d1d0586

View file

@ -37,7 +37,7 @@ services:
- "traefik.http.routers.crm.rule=PathPrefix(`/api/v1/crm`)"
- "traefik.http.routers.crm.entrypoints=web"
- "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:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3100/health"]
interval: 30s