fuuko/gitea: Allow larger HTTP uploads
This is required to include larger files in Git LFS, which uses HTTP for uploading the files.
This commit is contained in:
parent
964b34f321
commit
0de6be12f4
|
@ -67,5 +67,9 @@ in
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://unix:/run/gitea/gitea.sock";
|
proxyPass = "http://unix:/run/gitea/gitea.sock";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 1G; # Git LFS
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue