From a2d82e4dc440ebe9df7fe0c078947b9d63d63c5b Mon Sep 17 00:00:00 2001 From: marcel-dempers Date: Sun, 20 Feb 2022 18:49:53 +1100 Subject: [PATCH] update --- kubernetes/portainer/example-application/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/portainer/example-application/ingress.yaml b/kubernetes/portainer/example-application/ingress.yaml index fd4522a..7b36be0 100644 --- a/kubernetes/portainer/example-application/ingress.yaml +++ b/kubernetes/portainer/example-application/ingress.yaml @@ -3,14 +3,14 @@ kind: Ingress metadata: name: example-ingress annotations: - nginx.ingress.kubernetes.io/rewrite-target: / + nginx.ingress.kubernetes.io/rewrite-target: /$2 spec: ingressClassName: nginx rules: - host: marcel.test http: paths: - - path: /hello + - path: /hello(/|$)(.*) pathType: Prefix backend: service: