From c655dec0bf8a79de77a6bb1d40906e956b10768e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sun, 1 Jun 2025 23:35:48 +0200 Subject: [PATCH] fix ingress --- deploy/appflowy/ingress.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/appflowy/ingress.yaml b/deploy/appflowy/ingress.yaml index 4eed706..4d1083f 100644 --- a/deploy/appflowy/ingress.yaml +++ b/deploy/appflowy/ingress.yaml @@ -7,6 +7,7 @@ metadata: cert-manager.io/cluster-issuer: "letsencrypt-prod" nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/proxy-body-size: "50m" + nginx.ingress.kubernetes.io/rewrite-target: /$2 spec: ingressClassName: nginx @@ -33,8 +34,8 @@ spec: # ┌──────────────────────────────────────────────────────────────────────────────┐ # │ 2) GoTrue (auth) – exposed under /gotrue │ # └──────────────────────────────────────────────────────────────────────────────┘ - - path: /gotrue - pathType: Prefix + - path: /gotrue(/|$)(.*) + pathType: ImplementationSpecific backend: service: name: gotrue