Increase nextcloud max upload size, tweak update times for Legion
This commit is contained in:
parent
da03f96878
commit
73b71ace69
|
@ -11,10 +11,10 @@
|
|||
};
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "03:00";
|
||||
dates = "02:00";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
lower = "01:00";
|
||||
lower = "03:00";
|
||||
upper = "05:00";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,9 +12,25 @@
|
|||
adminpassFile = "/secrets/nextcloud_admin.txt";
|
||||
};
|
||||
extraOptions = {
|
||||
trusted_proxies = ["192.168.1.166"];
|
||||
trusted_proxies = ["192.168.1.230"];
|
||||
overwriteprotocol = "https";
|
||||
};
|
||||
phpOptions = {
|
||||
catch_workers_output = "yes";
|
||||
display_errors = "stderr";
|
||||
error_reporting = "E_ALL & ~E_DEPRECATED & ~E_STRICT";
|
||||
expose_php = "Off";
|
||||
"opcache.enable_cli" = "1";
|
||||
"opcache.fast_shutdown" = "1";
|
||||
"opcache.interned_strings_buffer" = "8";
|
||||
"opcache.max_accelerated_files" = "10000";
|
||||
"opcache.memory_consumption" = "128";
|
||||
"opcache.revalidate_freq" = "1";
|
||||
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
|
||||
short_open_tag = "Off";
|
||||
upload_max_filesize = "16G";
|
||||
post_max_size = "16G";
|
||||
};
|
||||
extraApps = with pkgs.nextcloud26Packages.apps; {inherit calendar contacts bookmarks;};
|
||||
extraAppsEnable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue