]> cat aescling's git repositories - mastodon.git/commitdiff
Document AUTHORIZED_FETCH mode and WHITELIST_MODE (#12856)
authorThibG <thib@sitedethib.com>
Wed, 22 Jan 2020 23:43:54 +0000 (00:43 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 22 Jan 2020 23:43:54 +0000 (00:43 +0100)
* Document AUTHORIZED_FETCH mode and WHITELIST_MODE

* Replace extended description with a link to the online docs

.env.production.sample

index 038000041670f32861b65e21536f308406bde866..8a6888621e717273b5b9d429f95dca421497bfd5 100644 (file)
@@ -250,3 +250,13 @@ STREAMING_CLUSTER_NUM=1
 # http_proxy=http://gateway.local:8118
 # Access control for hidden service.
 # ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
+
+# Authorized fetch mode (optional)
+# Require remote servers to authentify when fetching toots, see
+# https://docs.joinmastodon.org/admin/config/#authorized_fetch
+# AUTHORIZED_FETCH=true
+
+# Whitelist mode (optional)
+# Only allow federation with whitelisted domains, see
+# https://docs.joinmastodon.org/admin/config/#whitelist_mode
+# WHITELIST_MODE=true