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

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-01-11 15:17:05 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-02-10 17:09:49 +0300
commitef3de5f9a96fd3deea06d1ec872e7e309d393595 (patch)
tree610a9173540475f4e9a25b1e8ec7b190310b8172
parented1790c4a086aabc74ef9feb83a03948d070246c (diff)
Add config samples to federated editing docs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--docs/federated-editing.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/federated-editing.md b/docs/federated-editing.md
index 9afd57d0..f7b2103f 100644
--- a/docs/federated-editing.md
+++ b/docs/federated-editing.md
@@ -6,7 +6,23 @@ connect to that through their Nextcloud instance (Initiator).
In a federated scenario both Nextcloud servers need to add each other as trusted servers or in a
global scale environment a list of nodes can be added through the `gs.trustedHosts` setting in the
-config.php file.
+config.php file:
+
+```php
+'gs.trustedHosts' => [
+ 'gs1.example.com',
+ 'gs2.example.com',
+ 'collabora.example.com'
+]
+```
+
+Using wildcards is also possible:
+
+```php
+'gs.trustedHosts' => [
+ '*.example.com'
+]
+```
When a Initiator opens a file that is located on an incoming federated share, a check will be
performed if the share owners instance supports federated editing. If that is the case a Initiator
@@ -14,3 +30,10 @@ token will be created, and the user will be redirected to the Source instance to
The source instance will then fetch the user and file details, create a WOPI token for the remote
user with those details and open the document with that.
+
+## Allow remote access on Collabora
+Collabora by default only allows embedding from the same remote that the initial frame is loaded. In order to enable embedding also in trusted remotes like a different GS node, the following setting will allow that:
+
+Assuming gs1.example.com and gs2.example.com are Nextcloud servers:
+
+ coolconfig set net.frame_ancestors "*.example.com"