aboutsummaryrefslogtreecommitdiff
path: root/nomad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-05 16:14:01 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-05 16:14:01 +0200
commit7cf4ed0c872c926ab8a4bd8515c6e0d3880b14d9 (patch)
treea10af5ce11b521563e463b846cfaed51ec5a285f /nomad
parente4f2e9cc95c176bf0ab8042e79567cfd38737c97 (diff)
downloadinfrastructure-7cf4ed0c872c926ab8a4bd8515c6e0d3880b14d9.tar.gz
infrastructure-7cf4ed0c872c926ab8a4bd8515c6e0d3880b14d9.zip
Add a maybe useless CORS
Diffstat (limited to 'nomad')
-rw-r--r--nomad/chat.hcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/nomad/chat.hcl b/nomad/chat.hcl
index 816da64..31a75a5 100644
--- a/nomad/chat.hcl
+++ b/nomad/chat.hcl
@@ -110,6 +110,7 @@ job "chat" {
"traefik.enable=true",
"traefik.frontend.entryPoints=https",
"traefik.frontend.rule=Host:im.deuxfleurs.fr;PathPrefix:/_matrix",
+ "traefik.frontend.headers.customResponseHeaders=Access-Control-Allow-Origin: *",
"traefik.frontend.priority=100"
]
check {