From 7cf4ed0c872c926ab8a4bd8515c6e0d3880b14d9 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 5 May 2020 16:14:01 +0200 Subject: [PATCH] Add a maybe useless CORS --- nomad/chat.hcl | 1 + 1 file changed, 1 insertion(+) 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 {