diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-05-06 12:22:59 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-05-06 12:22:59 +0200 |
commit | bdcb1760ed67b14c1f71636b1126b916b35625ee (patch) | |
tree | 51c80293ba3b8718032a088e64fb115040203d66 /app/cryptpad/deploy | |
parent | ca55b15b5741731b520917e2a465973f7c14df60 (diff) | |
download | nixcfg-bdcb1760ed67b14c1f71636b1126b916b35625ee.tar.gz nixcfg-bdcb1760ed67b14c1f71636b1126b916b35625ee.zip |
Add required headers
Diffstat (limited to 'app/cryptpad/deploy')
-rw-r--r-- | app/cryptpad/deploy/cryptpad.hcl | 4 |
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" |