From d078df43adaea1657433ed24d75b97abe8ddaa03 Mon Sep 17 00:00:00 2001 From: Joakim Repomaa Date: Sun, 9 Feb 2025 00:45:26 +0200 Subject: [PATCH] increase max body size for workout-sync --- modules/services/workout-sync.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/services/workout-sync.nix b/modules/services/workout-sync.nix index 29e9ca7..7b4722e 100644 --- a/modules/services/workout-sync.nix +++ b/modules/services/workout-sync.nix @@ -48,7 +48,12 @@ in modules.services.webserver = { enable = lib.mkDefault true; - vHosts.${fqdn}.locations."/".proxyPort = port; + vHosts.${fqdn}.locations."/" = { + proxyPort = port; + extraConfig = '' + client_max_body_size 50m; + ''; + }; }; }; }