mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Add Federation config
This commit is contained in:
parent
c694abc23a
commit
227ddf4879
1 changed files with 38 additions and 0 deletions
38
config/federation.php
Normal file
38
config/federation.php
Normal 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)
|
||||
],
|
||||
|
||||
];
|
Loading…
Reference in a new issue