added gotosocial

This commit is contained in:
piccihud
2024-12-08 14:51:00 +01:00
parent a4ec23afb4
commit a8f15f6a63
2 changed files with 86 additions and 0 deletions

45
gotosocial/config.yaml Normal file
View File

@ -0,0 +1,45 @@
###########################
##### GENERAL CONFIG ######
###########################
# Default: ["127.0.0.1/32", "::1"] (localhost ipv4 + ipv6)
trusted-proxies:
- "127.0.0.1/32"
- "::1"
###########################
##### 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