From 11ed74003ab21ecee9ae4e4e37db0ec41bb47a1b Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 22 Mar 2021 13:56:16 +0000 Subject: [PATCH] nixos/fup: allow large file uploads --- ops/nixos/lib/fup.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ops/nixos/lib/fup.nix b/ops/nixos/lib/fup.nix index 5f95231e5f..cf8c35c71e 100644 --- a/ops/nixos/lib/fup.nix +++ b/ops/nixos/lib/fup.nix @@ -41,6 +41,11 @@ in forceSSL = true; locations."/" = { proxyPass = "http://unix:${sock}"; + extraConfig = '' + proxy_redirect off; + client_max_body_size 0; + proxy_buffering off; + ''; }; }; };