Skip to content

Commit

Permalink
feat(apps/nextcloud): disabling cors on ingress allows DAV to work
Browse files Browse the repository at this point in the history
  • Loading branch information
qlonik committed Jul 28, 2023
1 parent c37f6d4 commit 087b138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kubernetes/apps/default/nextcloud/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ spec:
className: nginx
annotations:
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
nginx.ingress.kubernetes.io/enable-cors: "true"
# Can re-enable if https://github.com/nextcloud/helm/issues/410 is resolved
nginx.ingress.kubernetes.io/enable-cors: "false"
nginx.ingress.kubernetes.io/cors-allow-methods: |-
GET,PUT,POST,DELETE,PATCH,OPTIONS,HEAD,CONNECT,PROPFIND,PROPPATCH,MKCOL,COPY,MOVE,LOCK,UNLOCK,TRACE
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For"
Expand Down

0 comments on commit 087b138

Please sign in to comment.