From 4c4cdf0a524af75b5d5c1b6ae53ac85833bd73da Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Sun, 1 Mar 2026 00:12:33 +0100 Subject: [PATCH] fix: route all traffic through nginx; remove direct /api->backend ingress rule Traefik forwards /api/auth/login to the backend verbatim, causing 404. Nginx already strips the /api prefix correctly via proxy_pass with trailing slash. Routing everything through frontend/nginx avoids the double-routing and the need for a StripPrefix middleware. --- helm/shorefront/templates/ingress.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/helm/shorefront/templates/ingress.yaml b/helm/shorefront/templates/ingress.yaml index a4a5844..4a83189 100644 --- a/helm/shorefront/templates/ingress.yaml +++ b/helm/shorefront/templates/ingress.yaml @@ -13,13 +13,6 @@ spec: - host: {{ .Values.ingress.host }} http: paths: - - path: /api - pathType: Prefix - backend: - service: - name: backend - port: - number: 8000 - path: / pathType: Prefix backend: