From fe63a74e6469d9d8ec4615fd8560c6bc79fea5c8 Mon Sep 17 00:00:00 2001 From: Frank Sauerburger <frank@sauerburger.com> Date: Mon, 23 Oct 2023 22:01:50 +0200 Subject: [PATCH] Enable cors --- kubernetes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubernetes.yaml b/kubernetes.yaml index a32bcb8..6d7bda6 100644 --- a/kubernetes.yaml +++ b/kubernetes.yaml @@ -85,6 +85,8 @@ metadata: annotations: cert-manager.io/issuer: letsencrypt-tls-tracking nginx.ingress.kubernetes.io/ssl-redirect: "false" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/cors-allow-origin: "http://tls-tracking.sauerburger.com" name: tls-tracking spec: ingressClassName: nginx -- GitLab