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