relay/relay.yaml.example

44 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-10-30 01:42:17 +00:00
# this is the path that the object graph will get dumped to (in JSON-LD format),
# you probably shouldn't change it, but you can if you want.
db: relay.jsonld
# Listener
listen: 0.0.0.0
port: 8080
# Note
note: "Make a note about your instance here."
2022-11-27 01:25:20 +00:00
# Number of worker threads to start. If 0, use asyncio futures instead of threads.
workers: 0
# Maximum number of inbox posts to do at once
# If workers is set to 1 or above, this is the max for each worker
2022-11-18 11:26:58 +00:00
push_limit: 512
2022-05-06 07:04:51 +00:00
2022-11-27 01:25:20 +00:00
# The amount of json objects to cache from GET requests
json_cache: 1024
2018-10-30 01:42:17 +00:00
ap:
2022-11-27 01:25:20 +00:00
# This is used for generating activitypub messages, as well as instructions for
# linking AP identities. It should be an SSL-enabled domain reachable by https.
2018-10-31 02:25:06 +00:00
host: 'relay.example.com'
2022-05-06 07:04:51 +00:00
2018-10-31 19:29:30 +00:00
blocked_instances:
- 'bad-instance.example.com'
- 'another-bad-instance.example.com'
2022-05-06 07:04:51 +00:00
2019-05-21 16:29:55 +00:00
whitelist_enabled: false
2022-05-06 07:04:51 +00:00
2019-05-21 16:29:55 +00:00
whitelist:
- 'good-instance.example.com'
2020-12-03 04:13:33 +00:00
- 'another.good-instance.example.com'
2022-05-06 07:04:51 +00:00
2020-12-04 07:34:40 +00:00
# uncomment the lines below to prevent certain activitypub software from posting
# to the relay (all known relays by default). this uses the software name in nodeinfo
#blocked_software:
#- 'activityrelay'
#- 'aoderelay'
#- 'social.seattle.wa.us-relay'
#- 'unciarelay'