diff options
author | Daniel Olsen <daniel.olsen99@gmail.com> | 2022-01-19 19:45:49 +0100 |
---|---|---|
committer | Daniel Olsen <daniel.olsen99@gmail.com> | 2022-01-19 19:45:57 +0100 |
commit | 88362d1a35ba4ac92e9bf728b68c32f14468daa3 (patch) | |
tree | 880eecff3aee2236ec9deff108fe0b840434c10c | |
parent | f2fe7b9b525a4e553bcb1d554e7d235beb1fe133 (diff) | |
download | nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.tar nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.tar.gz nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.tar.bz2 nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.tar.lz nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.tar.xz nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.tar.zst nixpkgs-88362d1a35ba4ac92e9bf728b68c32f14468daa3.zip |
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.
-rw-r--r-- | nixos/modules/services/misc/matrix-synapse.nix | 4 |
1 files 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; } ]; }]; |