aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:45:49 +0100
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-11-07 23:45:49 +0100
commit1a739636ca239308c890244c41c16fcd2a351b7b (patch)
tree90f11674dba9f78dc59fd8d1feb6f610ccdbe042 /cluster/prod/app
parentf32c0c34f345fb61646dcab87db4c2ab6dbb23be (diff)
downloadnixcfg-1a739636ca239308c890244c41c16fcd2a351b7b.tar.gz
nixcfg-1a739636ca239308c890244c41c16fcd2a351b7b.zip
cryptpad: relax the CORS headers further to allow for onlyoffice fonts
Diffstat (limited to 'cluster/prod/app')
-rw-r--r--cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl4
-rw-r--r--cluster/prod/app/cryptpad/deploy/cryptpad.hcl2
2 files changed, 3 insertions, 3 deletions
diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
index 3ef1ecf..7788273 100644
--- a/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
+++ b/cluster/prod/app/cryptpad/deploy/cryptpad-debug.hcl
@@ -56,14 +56,14 @@ job "cryptpad-debug" {
}
service {
- name = "cryptpad"
+ name = "cryptpad-debug"
port = "http"
tags = [
"tricot pad-debug.deuxfleurs.fr",
"tricot pad-sandbox-debug.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-debug.deuxfleurs.fr",
+ "tricot-add-header Access-Control-Allow-Origin *",
"tricot-add-header Access-Control-Allow-Credentials true",
"d53-cname pad-debug.deuxfleurs.fr",
"d53-cname pad-sandbox-debug.deuxfleurs.fr",
diff --git a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
index ce6a414..028696e 100644
--- a/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
+++ b/cluster/prod/app/cryptpad/deploy/cryptpad.hcl
@@ -63,7 +63,7 @@ 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-Origin *",
"tricot-add-header Access-Control-Allow-Credentials true",
"d53-cname pad.deuxfleurs.fr",
"d53-cname pad-sandbox.deuxfleurs.fr",