nextcloud adjustments, works!

This commit is contained in:
Danilo Reyes 2023-09-02 13:29:21 -06:00
parent bd54541220
commit 77e42a8969
2 changed files with 22 additions and 4 deletions

View File

@ -903,9 +903,29 @@ services = {
dbtableprefix = "oc_";
dbname = "nextcloud";
trustedProxies = [ "nginx" ];
extraTrustedDomains = [ "danilo-reyes.com" ];
extraTrustedDomains = [ "cloud.rotehaare.art" "danilo-reyes.com" ];
};
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" = "16";
"opcache.jit" = "1255";
"opcache.jit_buffer_size" = "128M";
"opcache.max_accelerated_files" = "10000";
"opcache.memory_consumption" = "128";
"opcache.revalidate_freq" = "1";
"opcache.save_comments" = "1";
"opcache.validate_timestamps" = "0";
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
short_open_tag = "Off";
};
extraOptions = {
mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe";
"installed" = true;
"memories.exiftool" = "/etc/profiles/per-user/nextcloud/bin/exiftool";
enabledPreviewProviders = [
@ -917,8 +937,6 @@ services = {
"OC\\Preview\\AVI"
"OC\\Preview\\Movie"
];
opcache.jit = 1255;
opcache.jit_buffer_size = "128M";
};
phpExtraExtensions = all: [ all.pdlib all.bz2 ];
};

View File

@ -176,7 +176,7 @@ in {
forceSSL = true;
enableACME = true;
http2 = true;
serverAliases = [ "danilo-reyes.com" "cloud.servidos.lat" ];
serverAliases = [ "cloud.rotehaare.art" "danilo-reyes.com" ];
};
};
};