Mastodon

From NixOS Wiki
Revision as of 13:52, 17 April 2021 by imported>Mohe2015 (Created page with " == Hints for running in your local network for testing == If you get a Mastodon::HostValidationError when trying to federate with another ActivitySub instance in your local...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hints for running in your local network for testing

If you get a Mastodon::HostValidationError when trying to federate with another ActivitySub instance in your local network you need to allow Mastodon to access local ip addresses in outgoing http (federation) requests. To do this set the following environment variable: ALLOWED_PRIVATE_ADDRESSES to a comma-separated list of allowed ip addresses with the format specified in https://ruby-doc.org/stdlib-2.5.1/libdoc/ipaddr/rdoc/IPAddr.html. This is also documented in the Mastodon admin guide[1].