From 27ddc22cda28bcf1f856d2bb63c3e0f7ee7198d5 Mon Sep 17 00:00:00 2001 From: rohow Date: Tue, 22 Oct 2024 16:00:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(fillCode):=20=E4=BF=AE=E5=A4=8Dnginx?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/apps/fillcode/helmchart.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/apps/fillcode/helmchart.yaml b/apps/apps/fillcode/helmchart.yaml index 4cadcc1..448978b 100644 --- a/apps/apps/fillcode/helmchart.yaml +++ b/apps/apps/fillcode/helmchart.yaml @@ -12,6 +12,9 @@ spec: ingress: enabled: true ingressClassName: nginx + annotations: + nginx.ingress.kubernetes.io/use-regex: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$2 tls: - hosts: - fillcode.com @@ -19,6 +22,6 @@ spec: hosts: - host: fillcode.com paths: - - /whoami + - /whoami(/|$)(.*)