forked from Deuxfleurs/nixcfg
Add required headers
This commit is contained in:
parent
ca55b15b57
commit
bdcb1760ed
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,8 @@ job "cryptpad" {
|
||||||
port = "unsafe"
|
port = "unsafe"
|
||||||
tags = [
|
tags = [
|
||||||
"tricot pad.deuxfleurs.fr",
|
"tricot pad.deuxfleurs.fr",
|
||||||
|
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
|
||||||
|
"tricot-add-header Cross-Origin-Embedder-Policy require-corp",
|
||||||
]
|
]
|
||||||
check {
|
check {
|
||||||
type = "http"
|
type = "http"
|
||||||
|
@ -61,6 +63,8 @@ job "cryptpad" {
|
||||||
port = "sandbox"
|
port = "sandbox"
|
||||||
tags = [
|
tags = [
|
||||||
"tricot pad-sandbox.deuxfleurs.fr",
|
"tricot pad-sandbox.deuxfleurs.fr",
|
||||||
|
"tricot-add-header Cross-Origin-Resource-Policy cross-origin",
|
||||||
|
"tricot-add-header Cross-Origin-Embedder-Policy require-corp",
|
||||||
]
|
]
|
||||||
check {
|
check {
|
||||||
type = "http"
|
type = "http"
|
||||||
|
|
Loading…
Reference in a new issue