Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-05-24 10:07:58 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2017-06-02 12:00:08 +0300
commit6e7ff2447477b5750d3aca0dc6457a4e756cafd4 (patch)
tree6af500465fc723a53e21f9b56f0c02e28f8981c2 /config
parent577ea5996880047508804b23b33a97a60339a11d (diff)
add new config switched for the global scale architecture
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php17
1 files changed, 14 insertions, 3 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index b143693082a..27499825c64 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1242,13 +1242,13 @@ $CONFIG = array(
* During setup, if requirements are met (see below), this setting is set to true
* and MySQL can handle 4 byte characters instead of 3 byte characters.
*
- * If you want to convert an existing 3-byte setup into a 4-byte setup please
+ * If you want to convert an existing 3-byte setup into a 4-byte setup please
* set the parameters in MySQL as mentioned below and run the migration command:
* ./occ db:convert-mysql-charset
* The config setting will be set automatically after a successful run.
- *
+ *
* Consult the documentation for more details.
- *
+ *
* MySQL requires a special setup for longer indexes (> 767 bytes) which are
* needed:
*
@@ -1530,4 +1530,15 @@ $CONFIG = array(
*/
'lookup_server' => 'https://lookup.nextcloud.com',
+/**
+ * set to true if the server is used in a setup based on Nextcloud's Global Scale architecture
+ */
+'gs.enabled' => false,
+
+/**
+ * by default federation is only used internally in a Global Scale setup
+ * If you want to allow federation outside of your environment set it to 'global'
+ */
+'gs.federation' => 'internal',
+
);