diff --git a/ip-mziesel-nl/base/ip-mziesel-nl-ingress.yaml b/ip-mziesel-nl/base/ip-mziesel-nl-ingress.yaml index 386c58e..2d4c128 100644 --- a/ip-mziesel-nl/base/ip-mziesel-nl-ingress.yaml +++ b/ip-mziesel-nl/base/ip-mziesel-nl-ingress.yaml @@ -2,11 +2,13 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ip-mzisel-nl-ingress + annotations: + nginx.ingress.kubernetes.io/rewrite-target: /$2 spec: rules: - http: paths: - - path: /ip + - path: /ip(/|$)(.*) pathType: Prefix backend: service: