From 4c6625efaa65712207e980d9125e6fce003cc585 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sun, 5 Apr 2026 23:40:11 +0200 Subject: [PATCH] fix: restore BASE_PATH=/server, remove strip-prefix Server-ui needs BASE_PATH for React Router basename. Without strip-prefix, no X-Forwarded-Prefix doubling. Server-ui handles full /server/ path itself. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3669e51..2c0ac03 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -197,13 +197,12 @@ services: condition: service_healthy environment: CAMELEER_API_URL: http://cameleer3-server:8081 + BASE_PATH: /server labels: - traefik.enable=true - traefik.http.routers.server-ui.rule=PathPrefix(`/server`) - traefik.http.routers.server-ui.entrypoints=websecure - traefik.http.routers.server-ui.tls=true - - traefik.http.routers.server-ui.middlewares=server-ui-strip - - traefik.http.middlewares.server-ui-strip.stripprefix.prefixes=/server - traefik.http.routers.server-ui.service=server-ui - traefik.http.services.server-ui.loadbalancer.server.port=80 networks: