federation.php 895 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | ActivityPub
  6. |--------------------------------------------------------------------------
  7. |
  8. | ActivityPub configuration
  9. |
  10. */
  11. 'activitypub' => [
  12. 'enabled' => env('ACTIVITY_PUB', false),
  13. 'outbox' => env('AP_OUTBOX', true),
  14. 'inbox' => env('AP_INBOX', true),
  15. 'sharedInbox' => env('AP_SHAREDINBOX', true),
  16. 'remoteFollow' => env('AP_REMOTE_FOLLOW', false),
  17. 'delivery' => [
  18. 'timeout' => env('ACTIVITYPUB_DELIVERY_TIMEOUT', 30.0),
  19. 'concurrency' => env('ACTIVITYPUB_DELIVERY_CONCURRENCY', 10),
  20. 'logger' => [
  21. 'enabled' => env('AP_LOGGER_ENABLED', false),
  22. 'driver' => 'log'
  23. ]
  24. ]
  25. ],
  26. 'atom' => [
  27. 'enabled' => env('ATOM_FEEDS', true),
  28. ],
  29. 'nodeinfo' => [
  30. 'enabled' => env('NODEINFO', true),
  31. ],
  32. 'webfinger' => [
  33. 'enabled' => env('WEBFINGER', true)
  34. ],
  35. ];