feat: more lfs limit

This commit is contained in:
2026-11-14 13:23:25 +00:00
parent 8b6746667b
commit 24f25d8143
+2 -2
View File
@@ -546,7 +546,7 @@ in {
enableACME = true;
forceSSL = true;
# NOTE(yukkop): allow large git pushes over HTTPS.
extraConfig = "client_max_body_size 512m;";
extraConfig = "client_max_body_size 2g;";
locations."/" = {
extraConfig = ''
proxy_pass http://127.0.0.1:11011/;
@@ -575,9 +575,9 @@ in {
ROOT_URL = "https://gitea.${domain}/";
SSH_PORT = giteaSshPort;
SSH_DOMAIN = "hectic-lab.com";
LFS_MAX_FILE_SIZE = 2147483648;
};
lfs.enable = true;
settings.lfs.LFS_MAX_FILE_SIZE = 536870912;
database = {
createDatabase = true;
type = "postgres";