aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-06-30 16:24:03 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-06-30 16:24:03 +0200
commit3c8cd4ca1c6bf12766901c9a6c280f4f0465ca9e (patch)
tree8724e88ca80b20a475957420446e8de9a0f909c8
parent784efbcc9b19770cba03a5b539bcd1c924fc7d03 (diff)
downloadinfrastructure-3c8cd4ca1c6bf12766901c9a6c280f4f0465ca9e.tar.gz
infrastructure-3c8cd4ca1c6bf12766901c9a6c280f4f0465ca9e.zip
Deactivate guests + expose _synapse api
-rw-r--r--app/im/config/synapse/homeserver.yaml2
-rw-r--r--app/im/deploy/im.hcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/im/config/synapse/homeserver.yaml b/app/im/config/synapse/homeserver.yaml
index 9e141d4..d146dda 100644
--- a/app/im/config/synapse/homeserver.yaml
+++ b/app/im/config/synapse/homeserver.yaml
@@ -314,7 +314,7 @@ bcrypt_rounds: 12
# Allows users to register as guests without a password/email/etc, and
# participate in rooms hosted on this server which have been made
# accessible to anonymous users.
-allow_guest_access: True
+allow_guest_access: False
# The list of identity servers trusted to verify third party
# identifiers by this server.
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl
index b53645c..345cf8c 100644
--- a/app/im/deploy/im.hcl
+++ b/app/im/deploy/im.hcl
@@ -97,7 +97,7 @@ job "im" {
"matrix",
"traefik.enable=true",
"traefik.frontend.entryPoints=https",
- "traefik.frontend.rule=Host:im.deuxfleurs.fr;PathPrefix:/_matrix",
+ "traefik.frontend.rule=Host:im.deuxfleurs.fr;PathPrefix:/_matrix,/_synapse",
"traefik.frontend.headers.customResponseHeaders=Access-Control-Allow-Origin: *",
"traefik.frontend.priority=100"
]