diff options
Diffstat (limited to 'app/im')
-rw-r--r-- | app/im/deploy/im.hcl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl index 53c3f2c..6be4e8c 100644 --- a/app/im/deploy/im.hcl +++ b/app/im/deploy/im.hcl @@ -99,7 +99,10 @@ job "im" { "traefik.frontend.entryPoints=https", "traefik.frontend.rule=Host:im.deuxfleurs.fr;PathPrefix:/_matrix,/_synapse", "traefik.frontend.headers.customResponseHeaders=Access-Control-Allow-Origin: *", - "traefik.frontend.priority=100" + "traefik.frontend.priority=100", + "tricot im.deuxfleurs.fr/_matrix 100", + "tricot im.deuxfleurs.fr/_synapse 100", + "tricot-add-header Access-Control-Allow-Origin *", ] check { type = "tcp" @@ -123,7 +126,8 @@ job "im" { "traefik.enable=true", "traefik.frontend.entryPoints=https", "traefik.frontend.rule=Host:deuxfleurs.fr;PathPrefix:/_matrix", - "traefik.frontend.priority=100" + "traefik.frontend.priority=100", + "tricot deuxfleurs.fr/_matrix 100", ] } } @@ -199,7 +203,9 @@ EOH "traefik.enable=true", "traefik.frontend.entryPoints=https", "traefik.frontend.rule=Host:im.deuxfleurs.fr,riot.deuxfleurs.fr;PathPrefix:/", - "traefik.frontend.priority=10" + "traefik.frontend.priority=10", + "tricot im.deuxfleurs.fr 10", + "tricot riot.deuxfleurs.fr 10", ] port = "web_port" address_mode = "host" |