Skip to content

Commit

Permalink
Add more cors method to ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
mason committed Sep 27, 2024
1 parent 9faab53 commit fa624d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
labels: {{ include "common.labels" . | nindent 4 }}
annotations:
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS"
nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, DELETE, PATCH, GET, POST, OPTIONS"
nginx.ingress.kubernetes.io/cors-allow-headers: "Host, X-Real-IP, X-Forwarded-Proto, X-Forwarded-Host, X-Forwarded-For"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
Expand Down

0 comments on commit fa624d7

Please sign in to comment.