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.
main
Daniel Olsen 2 years ago
parent f2fe7b9b52
commit 88362d1a35
  1. 4
      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; }
];
}];

Loading…
Cancel
Save