sedi-relay/relay.yaml.example

44 lines
1.1 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-05-06 07:04:51 +00:00
# maximum number of inbox posts to do at once
post_limit: 512
2018-10-30 01:42:17 +00:00
# this section is for ActivityPub
ap:
# 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'
2022-05-06 07:04:51 +00:00
# cache limits as number of items. only change this if you know what you're doing
cache:
objects: 1024
actors: 1024
digests: 1024