nixos/fup: allow large file uploads

This commit is contained in:
Luke Granger-Brown 2021-03-22 13:56:16 +00:00
parent 86d9292cd1
commit 11ed74003a

View file

@ -41,6 +41,11 @@ in
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://unix:${sock}"; proxyPass = "http://unix:${sock}";
extraConfig = ''
proxy_redirect off;
client_max_body_size 0;
proxy_buffering off;
'';
}; };
}; };
}; };