]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Temporarily fix nextcloud being slow
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 28 Jan 2019 23:37:14 +0000 (00:37 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 28 Jan 2019 23:37:14 +0000 (00:37 +0100)
nixops/modules/websites/tools/cloud/nextcloud.nix

index 1a490258306b27851c7430d8adbd1e00ecaf36e7..1e770b8b5b7c8a5efe2aa98bf9cfc92950f770e2 100644 (file)
@@ -99,7 +99,8 @@ let
     config_php = writeText "config.php" ''
       <?php
       $CONFIG = array (
-        'instanceid' => '${env.instance_id}',
+        // FIXME: change this value when nextcloud starts getting slow
+        'instanceid' => '${env.instance_id}1',
         'datadirectory' => '/var/lib/nextcloud/',
         'passwordsalt' => '${env.password_salt}',
         'debug' => false,
@@ -123,7 +124,7 @@ let
         'secret' => '${env.secret}',
         'appstoreenabled' => false,
         'appstore.experimental.enabled' => true,
-        'loglevel' => 0,
+        'loglevel' => 2,
         'trashbin_retention_obligation' => 'auto',
         'htaccess.RewriteBase' => '/',
         'mail_smtpmode' => 'sendmail',