From 0296ea56306998a907a18db733fa49bf683325ea Mon Sep 17 00:00:00 2001 From: Fusion Date: Mon, 18 May 2026 20:36:40 +0200 Subject: [PATCH] refactor: remove unnecessary StripPrefix middleware from API Frontend calls API directly without /api prefix, so the middleware was unnecessary. Simplifies Traefik configuration. --- docker-compose.traefik.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose.traefik.yml b/docker-compose.traefik.yml index ccddc4d..6224ef4 100644 --- a/docker-compose.traefik.yml +++ b/docker-compose.traefik.yml @@ -81,8 +81,7 @@ services: - "traefik.http.routers.${TRAEFIK_ROUTER_PREFIX:-hq}-api.entrypoints=websecure" - "traefik.http.routers.${TRAEFIK_ROUTER_PREFIX:-hq}-api.tls.certresolver=${TRAEFIK_CERT_RESOLVER:-letsencrypt}" - "traefik.http.services.${TRAEFIK_ROUTER_PREFIX:-hq}-api.loadbalancer.server.port=8000" - - "traefik.http.middlewares.${TRAEFIK_ROUTER_PREFIX:-hq}-api-strip.stripprefix.prefixes=/api" - - "traefik.http.routers.${TRAEFIK_ROUTER_PREFIX:-hq}-api.middlewares=${TRAEFIK_ROUTER_PREFIX:-hq}-api-strip" + # Web Frontend web: