From 3c8cd4ca1c6bf12766901c9a6c280f4f0465ca9e Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 30 Jun 2021 16:24:03 +0200 Subject: Deactivate guests + expose _synapse api --- app/im/config/synapse/homeserver.yaml | 2 +- app/im/deploy/im.hcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/im') 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" ] -- cgit v1.2.3