You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.9 KiB
65 lines
1.9 KiB
Index: nextcloud/config/config.sample.php |
|
--- nextcloud/config/config.sample.php.orig 2021-11-26 21:51:45.000000000 +0100 |
|
+++ nextcloud/config/config.sample.php 2021-12-02 09:12:37.573771000 +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 |
|
@@ -988,7 +988,7 @@ |
|
*/ |
|
'apps_paths' => [ |
|
[ |
|
- 'path'=> '/var/www/nextcloud/apps', |
|
+ 'path'=> '@l_prefix@/lib/nextcloud/apps', |
|
'url' => '/apps', |
|
'writable' => true, |
|
], |
|
@@ -1298,18 +1298,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, |
|
@@ -1328,7 +1328,7 @@ |
|
|
|
// Binary serializer vill be enabled if the igbinary PECL module is available |
|
//\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY, |
|
-], |
|
+], */ |
|
|
|
|
|
/** |
|
@@ -1527,10 +1527,11 @@ |
|
* does not verify the server cert except --ssl-verify-server-cert is passed manually. |
|
*/ |
|
'dbdriveroptions' => [ |
|
+ /* |
|
PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem', |
|
PDO::MYSQL_ATTR_SSL_KEY => '/file/path/to/mysql-client-key.pem', |
|
PDO::MYSQL_ATTR_SSL_CERT => '/file/path/to/mysql-client-cert.pem', |
|
- PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false, |
|
+ PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false, */ |
|
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800' |
|
], |
|
|
|
|