forked from Deuxfleurs/nixcfg
cryptpad: relax the CORS headers further to allow for onlyoffice fonts
This commit is contained in:
parent
f32c0c34f3
commit
1a739636ca
2 changed files with 3 additions and 3 deletions
|
@ -56,14 +56,14 @@ job "cryptpad-debug" {
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
name = "cryptpad"
|
name = "cryptpad-debug"
|
||||||
port = "http"
|
port = "http"
|
||||||
tags = [
|
tags = [
|
||||||
"tricot pad-debug.deuxfleurs.fr",
|
"tricot pad-debug.deuxfleurs.fr",
|
||||||
"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-Origin *",
|
||||||
"tricot-add-header Access-Control-Allow-Credentials true",
|
"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,7 +63,7 @@ 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-Origin *",
|
||||||
"tricot-add-header Access-Control-Allow-Credentials true",
|
"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