nixos/fup: allow large file uploads
This commit is contained in:
parent
86d9292cd1
commit
11ed74003a
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue