From 0c471a46f04df102d9d3345310a341a55c5b9566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Wed, 10 Sep 2025 04:13:46 -0600 Subject: [PATCH] fix(webdav): Increase max upload size - Fixes issue with Zotero sync --- modules/nixos/deertopia/webdav.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/deertopia/webdav.nix b/modules/nixos/deertopia/webdav.nix index cf82578..300430a 100644 --- a/modules/nixos/deertopia/webdav.nix +++ b/modules/nixos/deertopia/webdav.nix @@ -98,6 +98,9 @@ in { # See previous note regarding the HTTPS -> HTTP redirection. proxy_set_header Destination $http_destination_webdav; + # Increase limit of upload sizes. + client_max_body_size 20G; + proxy_pass "http://localhost:${builtins.toString cfg.port}"; ''; };