about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-01-23 00:43:54 +0100
committerEugen Rochko <eugen@zeonfederated.com>2020-01-23 00:43:54 +0100
commit27f9aa34776e89d0e56fc8aba7a52e075927b146 (patch)
tree77d24dc5d9d0f7ee15e1289ae96e64c4445335ae
parentec3ee675640fa441b9113d69b743ee22e107002b (diff)
Document AUTHORIZED_FETCH mode and WHITELIST_MODE (#12856)
* Document AUTHORIZED_FETCH mode and WHITELIST_MODE

* Replace extended description with a link to the online docs
-rw-r--r--.env.production.sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 038000041..8a6888621 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -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