summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud-config.php
blob: 83b1400e6d275235311748379955a1366308c773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$CONFIG = array (
  'datadirectory' => '/var/lib/nextcloud/data',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'apps_paths' => array (
    // Read-only location for apps shipped with Nextcloud and installed by apk.
    0 => array (
      'path' => '/usr/share/webapps/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    // Writable location for apps installed from AppStore.
    1 => array (
      'path' => '/var/lib/nextcloud/appstore',
      'url' => '/appstore',
      'writable' => true,
    ),
  ),
  'updatechecker' => false,

  // Uncomment to enable pretty URLs:
  //'overwrite.cli.url' => 'http://localhost/nextcloud/',
  //'htaccess.RewriteBase' => '/nextcloud/',

  // Addtionally, for nginx and lighttpd pretty URLs:
  //'check_for_working_htaccess' => false,
  // Additionally, for lighttpd pretty URLs:
  //'htaccess.IgnoreFrontController' => true,

  // Uncomment to enable Zend APCu memcache:
  //'memcache.local' => '\OC\Memcache\APCu',

  // Uncomment this and add user nextcloud to the redis group to enable Redis
  // cache for file locking. This is highly recommended, see
  // https://github.com/nextcloud/server/issues/9305.
  //'memcache.locking' => '\OC\Memcache\Redis',
  //'redis' => array(
  //  'host' => '/run/redis/redis.sock',
  //  'port' => 0,
  //  'dbindex' => 0,
  //  'timeout' => 1.5,
  //),

  'installed' => false,
);