aboutsummaryrefslogtreecommitdiff
path: root/app/im
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-08 12:42:48 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-08 12:42:48 +0100
commit7f08d5f3240bd8e93a9447ec814d7fbd474851b9 (patch)
tree8325387d3842c7c45786ecaf8c6644381859269f /app/im
parent2c2ee6c903a2068da202e9456f6fa7c37833e5d5 (diff)
downloadinfrastructure-7f08d5f3240bd8e93a9447ec814d7fbd474851b9.tar.gz
infrastructure-7f08d5f3240bd8e93a9447ec814d7fbd474851b9.zip
Add tricot tags to everything
Diffstat (limited to 'app/im')
-rw-r--r--app/im/deploy/im.hcl12
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"