From 88362d1a35ba4ac92e9bf728b68c32f14468daa3 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 19 Jan 2022 19:45:49 +0100 Subject: nixos/matrix-synapse: Remove webclient from default listener Webclient only allows serving a web directory under /_matrix/client This only incentivizes running the client under the same domain as the homeserver. Which is not recommended due to CORS. --- nixos/modules/services/misc/matrix-synapse.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix index 404163d2de6..bee4d7667c8 100644 --- a/nixos/modules/services/misc/matrix-synapse.nix +++ b/nixos/modules/services/misc/matrix-synapse.nix @@ -294,7 +294,7 @@ in { description = '' List of resources to host on this listener. ''; - example = ["client" "webclient" "federation"]; + example = ["client" "federation"]; }; compress = mkOption { type = types.bool; @@ -319,7 +319,7 @@ in { tls = true; x_forwarded = false; resources = [ - { names = ["client" "webclient"]; compress = true; } + { names = ["client"]; compress = true; } { names = ["federation"]; compress = false; } ]; }]; -- cgit 1.4.1