|
|
|
|
Index: nextcloud/config/config.sample.php
|
|
|
|
|
--- nextcloud/config/config.sample.php.orig 2021-02-19 09:49:36.000000000 +0100
|
|
|
|
|
+++ nextcloud/config/config.sample.php 2021-02-25 23:36:09.785882000 +0100
|
|
|
|
|
@@ -83,7 +83,7 @@
|
|
|
|
|
*
|
|
|
|
|
* Default to ``data/`` in the Nextcloud directory.
|
|
|
|
|
*/
|
|
|
|
|
-'datadirectory' => '/var/www/nextcloud/data',
|
|
|
|
|
+'datadirectory' => '@l_prefix@/var/nextcloud/data',
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The current version number of your Nextcloud installation. This is set up
|
|
|
|
|
@@ -968,7 +968,7 @@
|
|
|
|
|
*/
|
|
|
|
|
'apps_paths' => [
|
|
|
|
|
[
|
|
|
|
|
- 'path'=> '/var/www/nextcloud/apps',
|
|
|
|
|
+ 'path'=> '@l_prefix@/lib/nextcloud/apps',
|
|
|
|
|
'url' => '/apps',
|
|
|
|
|
'writable' => true,
|
|
|
|
|
],
|
|
|
|
|
@@ -1259,18 +1259,18 @@
|
|
|
|
|
/**
|
|
|
|
|
* Server details for one or more memcached servers to use for memory caching.
|
|
|
|
|
*/
|
|
|
|
|
-'memcached_servers' => [
|
|
|
|
|
+/* 'memcached_servers' => [
|
|
|
|
|
// hostname, port and optional weight. Also see:
|
|
|
|
|
// https://www.php.net/manual/en/memcached.addservers.php
|
|
|
|
|
// https://www.php.net/manual/en/memcached.addserver.php
|
|
|
|
|
['localhost', 11211],
|
|
|
|
|
//array('other.host.local', 11211),
|
|
|
|
|
-],
|
|
|
|
|
+], */
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Connection options for memcached
|
|
|
|
|
*/
|
|
|
|
|
-'memcached_options' => [
|
|
|
|
|
+/* 'memcached_options' => [
|
|
|
|
|
// Set timeouts to 50ms
|
|
|
|
|
\Memcached::OPT_CONNECT_TIMEOUT => 50,
|
|
|
|
|
\Memcached::OPT_RETRY_TIMEOUT => 50,
|
|
|
|
|
@@ -1289,7 +1289,7 @@
|
|
|
|
|
|
|
|
|
|
// Binary serializer vill be enabled if the igbinary PECL module is available
|
|
|
|
|
//\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
|
|
|
|
|
-],
|
|
|
|
|
+], */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@@ -1469,7 +1469,7 @@
|
|
|
|
|
* encryption in MySQL or specify a custom wait timeout on a cheap hoster.
|
|
|
|
|
*/
|
|
|
|
|
'dbdriveroptions' => [
|
|
|
|
|
- PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
|
|
|
|
|
+ /* PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem', */
|
|
|
|
|
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
|
|
|
|
|
],
|
|
|
|
|
|