Skip to content

Commit 3dd33e6

Browse files
committed
docs(config): Document OCM discovery toggles
Signed-off-by: Micke Nordin <kano@sunet.se>
1 parent 5be1faa commit 3dd33e6

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

config/config.sample.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,6 +2276,24 @@
22762276
*/
22772277
'sharing.federation.allowSelfSignedCertificates' => false,
22782278

2279+
/**
2280+
* Override the ``apiVersion`` advertised in the local OCM discovery document.
2281+
* Setting this to a non-empty string also removes the non-standard ``version``
2282+
* field. Leave empty for compatibility with older Nextcloud servers.
2283+
*
2284+
* Defaults to ``''`` (empty string)
2285+
*/
2286+
'sharing.federation.ocm.apiVersion' => '',
2287+
2288+
/**
2289+
* Remove the non-standard ``publicKey`` field from the local OCM discovery
2290+
* document. Enable this only when all federated peers support RFC 9421 HTTP
2291+
* signatures, for example when all peers run Nextcloud 35 or higher.
2292+
*
2293+
* Defaults to ``false``
2294+
*/
2295+
'sharing.federation.ocm.removePublicKey' => false,
2296+
22792297
/**
22802298
* Hashing
22812299
*/

0 commit comments

Comments
 (0)