Forgejo: Set nginx request size for git-lfs
This commit is contained in:
parent
c860fef7aa
commit
44f98a69d1
|
@ -123,6 +123,10 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://localhost:3001/";
|
locations."/".proxyPass = "http://localhost:3001/";
|
||||||
|
extraConfig = ''
|
||||||
|
# Maximum upload file size for git-lfs
|
||||||
|
client_max_body_size 100M;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue