From d2ef1f5322a15c5fc4179ab3a8ae9d2166781255 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 30 Mar 2020 18:15:32 +1000 Subject: [PATCH] Enabled URL previews --- roles/matrix.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/matrix.nix b/roles/matrix.nix index 28b3271..90cec78 100644 --- a/roles/matrix.nix +++ b/roles/matrix.nix @@ -28,11 +28,10 @@ type = "http"; x_forwarded = true; } ]; + max_upload_size = "100M"; tls_certificate_path = "/var/lib/acme/synapse.mcwhirter.io/fullchain.pem"; tls_private_key_path = "/var/lib/acme/synapse.mcwhirter.io/key.pem"; - extraConfig = '' - max_upload_size: "100M" - ''; + url_preview_enabled = true; }; nginx = {