diff --git a/ente-photos/ente-ingress.yaml b/ente-photos/ente-ingress.yaml index f65d1e0..a1b657d 100644 --- a/ente-photos/ente-ingress.yaml +++ b/ente-photos/ente-ingress.yaml @@ -7,7 +7,7 @@ metadata: cert-manager.io/cluster-issuer: prod-cluster-issuer nginx.ingress.kubernetes.io/ssl-passthrough: "false" nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/cors-allow-origin: "*" + nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:3000/" nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS, DELETE" # If you encounter a redirect loop or are getting a 307 response code # then you need to force the nginx ingress to connect to the backend using HTTPS. diff --git a/ente-photos/ente-web-ingress.yaml b/ente-photos/ente-web-ingress.yaml index 63f43d4..d52cfc0 100644 --- a/ente-photos/ente-web-ingress.yaml +++ b/ente-photos/ente-web-ingress.yaml @@ -6,9 +6,9 @@ metadata: # nginx.ingress.kubernetes.io/rewrite-target: / cert-manager.io/cluster-issuer: prod-cluster-issuer nginx.ingress.kubernetes.io/ssl-passthrough: "false" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/cors-allow-origin: "*" - nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS, DELETE" + # nginx.ingress.kubernetes.io/enable-cors: "true" + # nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:3000/" + # nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS, DELETE" # If you encounter a redirect loop or are getting a 307 response code # then you need to force the nginx ingress to connect to the backend using HTTPS. #