Adding some comments to defaults.hjson (#1207)

* Adding some comments to defaults.hjson

* Link to docs for allow/blocklist.
pull/1210/head
Dessalines 2020-10-16 16:46:40 -04:00 committed by GitHub
parent cead2a6303
commit 37f616bad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,3 @@
{ {
hostname: "localhost:8536" hostname: "localhost:8536"
federation_enabled: true
} }

View File

@ -58,8 +58,11 @@
} }
# settings related to activitypub federation # settings related to activitypub federation
federation: { federation: {
# whether to enable activitypub federation. this feature is in alpha, do not enable in production. # whether to enable activitypub federation.
enabled: false enabled: false
# Allows and blocks are described here:
# https://dev.lemmy.ml/docs/administration_federation.html#instance-allowlist-and-blocklist
#
# comma separated list of instances with which federation is allowed # comma separated list of instances with which federation is allowed
allowed_instances: "" allowed_instances: ""
# comma separated list of instances which are blocked from federating # comma separated list of instances which are blocked from federating