49 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2024-12-08 14:51:00 +01:00
###########################
##### GENERAL CONFIG ######
###########################
# Default: ["127.0.0.1/32", "::1"] (localhost ipv4 + ipv6)
trusted-proxies:
- "127.0.0.1/32"
- "::1"
2024-12-08 21:21:32 +01:00
# https://docs.gotosocial.org/en/latest/api/ratelimiting/
# turn off rate limit
advanced-rate-limit-requests: 0
2024-12-08 14:51:00 +01:00
###########################
##### INSTANCE CONFIG #####
###########################
# https://docs.gotosocial.org/en/latest/configuration/
instance-languages: ["it", "en-gb"]
# String. Federation mode to use for this instance.
#
# "blocklist" -- open federation by default. Only instances that are explicitly
# blocked will be denied (unless they are also explicitly allowed).
#
# "allowlist" -- closed federation by default. Only instances that are explicitly
# allowed will be able to interact with this instance.
instance-federation-mode: "blocklist"
# Bool. This flag will inject a Mastodon version into the version field that
# is included in /api/v1/instance. This version is often used by Mastodon clients
# to do API feature detection. By injecting a Mastodon compatible version, it is
# possible to cajole those clients to behave correctly with GoToSocial.
#
# Options: [true, false]
# Default: false
instance-inject-mastodon-version: true
###########################
##### ACCOUNTS CONFIG #####
###########################
accounts-registration-open: false
###########################
##### STATUSES CONFIG #####
###########################
statuses-max-chars: 500