Compare commits

..

2 commits

Author SHA1 Message Date
Tom Hubrecht
a54bedb6c7 fix(nextcloud): Increase php string buffer 2023-11-22 16:01:49 +01:00
Tom Hubrecht
b0b576e9fe feat(nextcloud): Add a service to preview documents each day 2023-11-22 12:56:33 +01:00

View file

@ -46,6 +46,26 @@ in {
"pm.start_servers" = "6"; "pm.start_servers" = "6";
}; };
phpOptions = {
short_open_tag = "Off";
expose_php = "Off";
error_reporting = "E_ALL & ~E_DEPRECATED & ~E_STRICT";
display_errors = "stderr";
"opcache.enable_cli" = "1";
"opcache.interned_strings_buffer" = "32";
"opcache.max_accelerated_files" = "10000";
"opcache.memory_consumption" = "128";
"opcache.revalidate_freq" = "1";
"opcache.fast_shutdown" = "1";
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
catch_workers_output = "yes";
};
systemd.services.nextcloud-preview = {
script = "nextcloud-occ preview:pre-generate -vvv";
startAt = "*-*-* 01:00:00 UTC";
};
notify_push = { enable = true; }; notify_push = { enable = true; };
database.createLocally = true; database.createLocally = true;
@ -61,7 +81,6 @@ in {
updatechecker = false; updatechecker = false;
allow_local_remote_servers = true; allow_local_remote_servers = true;
"opcache.interned_strings_buffer" = 32;
}; };
}; };