mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
Add cors ente ingresses 2
This commit is contained in:
1 parent
624e2522ea
commit
9b09712969
2 files changed
+2
No files matched your search
@@ -8,6 +8,7 @@ metadata:
|
|||||||
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
|
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
|
||||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||||
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
|
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
|
# 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.
|
# then you need to force the nginx ingress to connect to the backend using HTTPS.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ metadata:
|
|||||||
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
|
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
|
||||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||||
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
|
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
|
# 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.
|
# then you need to force the nginx ingress to connect to the backend using HTTPS.
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in new issue
Block a user