Add cors ente web ingress

This commit is contained in:
Ruben Hensen
2024-09-13 00:18:13 +02:00
parent 3ee0e85444
commit 7b2a6b3751
+2
View File
@@ -6,6 +6,8 @@ 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: "*"
# 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.
#