aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:19:37 +0100
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:19:37 +0100
commitbc49f33d6547e1eb70b278f0e7c4045ab45710a0 (patch)
tree8f73c0ab7405ed1865212c74c64ca72a6c014b2e /cluster/prod/app/cryptpad/deploy/cryptpad.hcl
parent00c56a4ddac52ef8332c97d8887d2d148faea13d (diff)
downloadnixcfg-bc49f33d6547e1eb70b278f0e7c4045ab45710a0.tar.gz
nixcfg-bc49f33d6547e1eb70b278f0e7c4045ab45710a0.zip
cryptpad: ajout de headers CORS manquants pour le domaine de sandbox
Diffstat (limited to 'cluster/prod/app/cryptpad/deploy/cryptpad.hcl')
-rw-r--r--cluster/prod/app/cryptpad/deploy/cryptpad.hcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
index 048345d..ce6a414 100644
--- a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
+++ b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
@@ -63,6 +63,8 @@ job "cryptpad" {
"tricot pad-sandbox.deuxfleurs.fr",
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
"tricot-add-header Cross-Origin-Embedder-Policy require-corp",
+ "tricot-add-header Access-Control-Allow-Origin https://pad-sandbox.deuxfleurs.fr",
+ "tricot-add-header Access-Control-Allow-Credentials true",
"d53-cname pad.deuxfleurs.fr",
"d53-cname pad-sandbox.deuxfleurs.fr",
]