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:
@@ -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; }
|
||||
];
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user