feat: more lfs limit
This commit is contained in:
@@ -546,7 +546,7 @@ in {
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
# NOTE(yukkop): allow large git pushes over HTTPS.
|
# NOTE(yukkop): allow large git pushes over HTTPS.
|
||||||
extraConfig = "client_max_body_size 512m;";
|
extraConfig = "client_max_body_size 2g;";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_pass http://127.0.0.1:11011/;
|
proxy_pass http://127.0.0.1:11011/;
|
||||||
@@ -575,9 +575,9 @@ in {
|
|||||||
ROOT_URL = "https://gitea.${domain}/";
|
ROOT_URL = "https://gitea.${domain}/";
|
||||||
SSH_PORT = giteaSshPort;
|
SSH_PORT = giteaSshPort;
|
||||||
SSH_DOMAIN = "hectic-lab.com";
|
SSH_DOMAIN = "hectic-lab.com";
|
||||||
|
LFS_MAX_FILE_SIZE = 2147483648;
|
||||||
};
|
};
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
settings.lfs.LFS_MAX_FILE_SIZE = 536870912;
|
|
||||||
database = {
|
database = {
|
||||||
createDatabase = true;
|
createDatabase = true;
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
|
|||||||
Reference in New Issue
Block a user