diff --git a/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Local.yaml b/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Local.yaml index 3080828..45e72b8 100644 --- a/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Local.yaml +++ b/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Local.yaml @@ -4,7 +4,6 @@ metadata: name: madworld-ingress namespace: madworld annotations: - nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/configuration-snippet: | more_set_headers "X-Forwarded-For $http_x_forwarded_for"; spec: @@ -12,7 +11,7 @@ spec: - host: admin.mad-world.local http: paths: - - path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)" + - path: / pathType: Prefix backend: service: @@ -52,7 +51,7 @@ spec: - host: shipsimulator.mad-world.local http: paths: - - path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)" + - path: / pathType: Prefix backend: service: diff --git a/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Prod.yaml b/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Prod.yaml index 4d7c7c1..52e4a22 100644 --- a/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Prod.yaml +++ b/MadWorld/Deployments/Kubernetes/Environment/Ingress-Deployment-Prod.yaml @@ -24,7 +24,6 @@ metadata: cert-manager.io/subject-countries: "NL" cert-manager.io/email-sans: "oveldman@gmail.com" kubernetes.io/ingress.class: "public" - nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/configuration-snippet: | more_set_headers "X-Forwarded-For $http_x_forwarded_for"; spec: @@ -42,7 +41,7 @@ spec: - host: admin.mad-world.nl http: paths: - - path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)" + - path: / pathType: Prefix backend: service: @@ -82,7 +81,7 @@ spec: - host: shipsimulator.mad-world.nl http: paths: - - path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)" + - path: / pathType: Prefix backend: service: @@ -102,7 +101,7 @@ spec: - host: www.mad-world.nl http: paths: - - path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)" + - path: / pathType: Prefix backend: service: