waffentrager: nextcloud php settings

This commit is contained in:
Mateusz Słodkowicz 2024-03-28 17:13:49 +01:00
parent 2c3ac41ee3
commit 53566aa9e4
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 8 additions and 3 deletions

View File

@ -46,6 +46,7 @@
mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe";
enable_previews = true;
preview_format = "webp";
enabledPreviewProviders = [
''OC\Preview\Movie''
''OC\Preview\PNG''
@ -68,13 +69,17 @@
globalProfiles = true;
phpOptions = {
"opcache.interned_strings_buffer" = "10";
"opcache.memory_consumption" = "512";
"opcache.interned_strings_buffer" = "64";
"opcache.max_accelerated_files"="50000";
"opcache.jit" = "1255";
"opcache.jit_buffer_size" = "128M";
"opcache.revalidate_freq" = "60";
"opcache.validate_timestamps" = "0";
"opcache.revalidate_freq" = "0";
"opcache.fast_shutdown" = "1";
"opcache.save_comments" = "1";
};
phpExtraExtensions = ex: [ ex.zip ex.zlib ex.tidy ];
phpExtraExtensions = ex: [ ex.zip ex.zlib ex.tidy ex.smbclient ];
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;