Add Federation config

This commit is contained in:
Daniel Supernault 2019-06-09 17:15:01 -06:00
parent c694abc23a
commit 227ddf4879
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

38
config/federation.php Normal file
View file

@ -0,0 +1,38 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| ActivityPub
|--------------------------------------------------------------------------
|
| ActivityPub configuration
|
*/
'activitypub' => [
'enabled' => env('ACTIVITY_PUB', false),
'outbox' => env('AP_OUTBOX', true),
'inbox' => env('AP_INBOX', true),
'sharedInbox' => env('AP_SHAREDINBOX', false),
'delivery' => [
'timeout' => env('ACTIVITYPUB_DELIVERY_TIMEOUT', 2.0),
'concurrency' => env('ACTIVITYPUB_DELIVERY_CONCURRENCY', 10)
]
],
'atom' => [
'enabled' => env('ATOM_FEEDS', true),
],
'nodeinfo' => [
'enabled' => env('NODEINFO', true),
],
'webfinger' => [
'enabled' => env('WEBFINGER', true)
],
];