diff options
author | Felix Ableitner <me@nutomic.com> | 2019-12-27 18:25:07 +0100 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2019-12-30 13:31:54 +0100 |
commit | 581f36d6eff4e79139afd5049b4efb8b0ccc6e99 (patch) | |
tree | d65f7bdbf96fc2ae0f796726a8763216ee624a9e /server/config/defaults.hjson | |
parent | 47d55d9d2b69e7da49160675206b64a14ab75ebe (diff) |
Implementing very basic federation including test setup
Diffstat (limited to 'server/config/defaults.hjson')
-rw-r--r-- | server/config/defaults.hjson | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/server/config/defaults.hjson b/server/config/defaults.hjson index 0fabda0b..6f4daaae 100644 --- a/server/config/defaults.hjson +++ b/server/config/defaults.hjson @@ -15,7 +15,7 @@ pool_size: 5 } # the domain name of your instance (eg "dev.lemmy.ml") - hostname: "rrr" + hostname: null # address where lemmy should listen for incoming requests bind: "0.0.0.0" # port where lemmy should listen for incoming requests @@ -24,9 +24,11 @@ jwt_secret: "changeme" # The dir for the front end front_end_dir: "../ui/dist" - # whether to enable activitypub federation. this feature is in alpha, do not enable in production, as might - # cause problems like remote instances fetching and permanently storing bad data. + # whether to enable activitypub federation. this feature is in alpha, do not enable in production. federation_enabled: false + // another instance to federate with. this should be a list, but it seems like lists cant be set from environment + // https://github.com/mehcode/config-rs/issues/117 + federated_instance: null # rate limits for various user actions, by user ip rate_limit: { # maximum number of messages created in interval |