aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-29 00:37:14 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-29 00:37:14 +0100
commita1752ba5bb3fb8bbbfb4cd3b3e2d4c70ca9fa25c (patch)
tree3cb5e991a38195595c16d0b9bbeb00f8ddd33b74 /nixops/modules/websites
parenta952acc4347d5d77b3c67283ca6249b49a6c9231 (diff)
downloadNix-a1752ba5bb3fb8bbbfb4cd3b3e2d4c70ca9fa25c.tar.gz
Nix-a1752ba5bb3fb8bbbfb4cd3b3e2d4c70ca9fa25c.tar.zst
Nix-a1752ba5bb3fb8bbbfb4cd3b3e2d4c70ca9fa25c.zip
Temporarily fix nextcloud being slow
Diffstat (limited to 'nixops/modules/websites')
-rw-r--r--nixops/modules/websites/tools/cloud/nextcloud.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixops/modules/websites/tools/cloud/nextcloud.nix b/nixops/modules/websites/tools/cloud/nextcloud.nix
index 1a49025..1e770b8 100644
--- a/nixops/modules/websites/tools/cloud/nextcloud.nix
+++ b/nixops/modules/websites/tools/cloud/nextcloud.nix
@@ -99,7 +99,8 @@ let
99 config_php = writeText "config.php" '' 99 config_php = writeText "config.php" ''
100 <?php 100 <?php
101 $CONFIG = array ( 101 $CONFIG = array (
102 'instanceid' => '${env.instance_id}', 102 // FIXME: change this value when nextcloud starts getting slow
103 'instanceid' => '${env.instance_id}1',
103 'datadirectory' => '/var/lib/nextcloud/', 104 'datadirectory' => '/var/lib/nextcloud/',
104 'passwordsalt' => '${env.password_salt}', 105 'passwordsalt' => '${env.password_salt}',
105 'debug' => false, 106 'debug' => false,
@@ -123,7 +124,7 @@ let
123 'secret' => '${env.secret}', 124 'secret' => '${env.secret}',
124 'appstoreenabled' => false, 125 'appstoreenabled' => false,
125 'appstore.experimental.enabled' => true, 126 'appstore.experimental.enabled' => true,
126 'loglevel' => 0, 127 'loglevel' => 2,
127 'trashbin_retention_obligation' => 'auto', 128 'trashbin_retention_obligation' => 'auto',
128 'htaccess.RewriteBase' => '/', 129 'htaccess.RewriteBase' => '/',
129 'mail_smtpmode' => 'sendmail', 130 'mail_smtpmode' => 'sendmail',