Add required headers

This commit is contained in:
Quentin 2022-05-06 12:22:59 +02:00
parent ca55b15b57
commit bdcb1760ed
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -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"