feat: more lfs limit
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user