forked from Deuxfleurs/nixcfg
cryptpad: ajout de headers CORS manquants pour le domaine de sandbox
This commit is contained in:
parent
00c56a4dda
commit
bc49f33d65
2 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,8 @@ job "cryptpad-debug" {
|
||||||
"tricot pad-sandbox-debug.deuxfleurs.fr",
|
"tricot pad-sandbox-debug.deuxfleurs.fr",
|
||||||
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
|
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
|
||||||
"tricot-add-header Cross-Origin-Embedder-Policy require-corp",
|
"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-Credentials true",
|
||||||
"d53-cname pad-debug.deuxfleurs.fr",
|
"d53-cname pad-debug.deuxfleurs.fr",
|
||||||
"d53-cname pad-sandbox-debug.deuxfleurs.fr",
|
"d53-cname pad-sandbox-debug.deuxfleurs.fr",
|
||||||
]
|
]
|
||||||
|
|
|
@ -63,6 +63,8 @@ job "cryptpad" {
|
||||||
"tricot pad-sandbox.deuxfleurs.fr",
|
"tricot pad-sandbox.deuxfleurs.fr",
|
||||||
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
|
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
|
||||||
"tricot-add-header Cross-Origin-Embedder-Policy require-corp",
|
"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.deuxfleurs.fr",
|
||||||
"d53-cname pad-sandbox.deuxfleurs.fr",
|
"d53-cname pad-sandbox.deuxfleurs.fr",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue