Nextcloud upload size
This commit is contained in:
parent
0e33820c06
commit
faf6e72c8f
1 changed files with 2 additions and 5 deletions
|
|
@ -23,17 +23,14 @@
|
||||||
trustedProxies = [ "127.0.0.1" ];
|
trustedProxies = [ "127.0.0.1" ];
|
||||||
adminpassFile = config.age.secrets.nextcloud-adminpass.path;
|
adminpassFile = config.age.secrets.nextcloud-adminpass.path;
|
||||||
};
|
};
|
||||||
phpOptions = {
|
phpOptions = { "opcache.interned_strings_buffer" = "16"; };
|
||||||
upload_max_filesize = lib.mkDefault "8G";
|
|
||||||
post_max_size = lib.mkDefault "8G";
|
|
||||||
"opcache.interned_strings_buffer" = "16";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||||
useACMEHost = "baduhai.dev";
|
useACMEHost = "baduhai.dev";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
|
extraConfig = "client_max_body_size 8G";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue