diff --git a/ente-photos/ente-ingress.yaml b/ente-photos/ente-ingress.yaml index 0fbf73b..f65d1e0 100644 --- a/ente-photos/ente-ingress.yaml +++ b/ente-photos/ente-ingress.yaml @@ -8,6 +8,7 @@ metadata: 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" # 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 3874efa..63f43d4 100644 --- a/ente-photos/ente-web-ingress.yaml +++ b/ente-photos/ente-web-ingress.yaml @@ -8,6 +8,7 @@ metadata: 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" # 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. #