aboutsummaryrefslogtreecommitdiff
path: root/app/cryptpad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-05-06 12:22:59 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-05-06 12:22:59 +0200
commitbdcb1760ed67b14c1f71636b1126b916b35625ee (patch)
tree51c80293ba3b8718032a088e64fb115040203d66 /app/cryptpad
parentca55b15b5741731b520917e2a465973f7c14df60 (diff)
downloadnixcfg-bdcb1760ed67b14c1f71636b1126b916b35625ee.tar.gz
nixcfg-bdcb1760ed67b14c1f71636b1126b916b35625ee.zip
Add required headers
Diffstat (limited to 'app/cryptpad')
-rw-r--r--app/cryptpad/deploy/cryptpad.hcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/cryptpad/deploy/cryptpad.hcl b/app/cryptpad/deploy/cryptpad.hcl
index 7880cad..cee0f1f 100644
--- a/app/cryptpad/deploy/cryptpad.hcl
+++ b/app/cryptpad/deploy/cryptpad.hcl
@@ -48,6 +48,8 @@ job "cryptpad" {
port = "unsafe"
tags = [
"tricot pad.deuxfleurs.fr",
+ "tricot-add-header Cross-Origin-Resource-Policy cross-origin",
+ "tricot-add-header Cross-Origin-Embedder-Policy require-corp",
]
check {
type = "http"
@@ -61,6 +63,8 @@ job "cryptpad" {
port = "sandbox"
tags = [
"tricot pad-sandbox.deuxfleurs.fr",
+ "tricot-add-header Cross-Origin-Resource-Policy cross-origin",
+ "tricot-add-header Cross-Origin-Embedder-Policy require-corp",
]
check {
type = "http"