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 = {