waffentrager: nextcloud php settings
This commit is contained in:
parent
2c3ac41ee3
commit
53566aa9e4
|
@ -46,6 +46,7 @@
|
||||||
mail_smtpmode = "sendmail";
|
mail_smtpmode = "sendmail";
|
||||||
mail_sendmailmode = "pipe";
|
mail_sendmailmode = "pipe";
|
||||||
enable_previews = true;
|
enable_previews = true;
|
||||||
|
preview_format = "webp";
|
||||||
enabledPreviewProviders = [
|
enabledPreviewProviders = [
|
||||||
''OC\Preview\Movie''
|
''OC\Preview\Movie''
|
||||||
''OC\Preview\PNG''
|
''OC\Preview\PNG''
|
||||||
|
@ -68,13 +69,17 @@
|
||||||
globalProfiles = true;
|
globalProfiles = true;
|
||||||
|
|
||||||
phpOptions = {
|
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" = "1255";
|
||||||
"opcache.jit_buffer_size" = "128M";
|
"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";
|
"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} = {
|
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in New Issue