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-05-29 19:19:28 +0300
commit7c2d473d7686f4824d3b7f05238d262e26d5efa2 (patch)
treef4aae21880e293a2ded78e63ee3300b61b5f487f /config
parent4be17dff0f9846d32f9740e7d7766bdbc1e98b51 (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',
+
);