From 0a0da37807f08351bc36d0b71b84002e6049dc7d Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Tue, 10 Jan 2023 22:10:54 +1000 Subject: [PATCH] increase upload limit for both matrix and calibre-web --- hosts/profiles/calibre/default.nix | 1 + hosts/profiles/matrix/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/profiles/calibre/default.nix b/hosts/profiles/calibre/default.nix index 517dd378..4112a2ac 100644 --- a/hosts/profiles/calibre/default.nix +++ b/hosts/profiles/calibre/default.nix @@ -36,6 +36,7 @@ extraConfig = '' proxy_pass http://localhost:8083/; proxy_set_header X-Forwarded-Host $host; + client_max_body_size 50M; ''; }; }; diff --git a/hosts/profiles/matrix/default.nix b/hosts/profiles/matrix/default.nix index f269b7d0..a296e09e 100644 --- a/hosts/profiles/matrix/default.nix +++ b/hosts/profiles/matrix/default.nix @@ -20,6 +20,7 @@ services.matrix-synapse = { enable = true; settings = { + max_upload_size = "100M"; server_name = "sealight.xyz"; listeners = [ {