diff --git a/apps/nxtgauge-frontend-solid/base/ingress.yaml b/apps/nxtgauge-frontend-solid/base/ingress.yaml index df03e15..4b88657 100644 --- a/apps/nxtgauge-frontend-solid/base/ingress.yaml +++ b/apps/nxtgauge-frontend-solid/base/ingress.yaml @@ -16,6 +16,17 @@ spec: - host: test111.nxtgauge.com http: paths: + # /api/* routes to Rust gateway directly (signup, login, KB, etc.) + # so the SolidStart frontend (which has no /api/auth/* handler due to + # the Vinxi 0.5.7 file-based-route bug) does not have to proxy itself. + # More specific paths must come first — Traefik matches the longest prefix. + - path: /api + pathType: Prefix + backend: + service: + name: nxtgauge-rust-gateway + port: + number: 9100 - path: / pathType: Prefix backend: