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.
This commit is contained in:
Daniel Olsen
2022-01-19 19:45:57 +01:00
parent f2fe7b9b52
commit 88362d1a35
@@ -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; }
];
}];