relay.yaml.example 1.15 KB
Newer Older
kaniini's avatar
kaniini committed
1
2
3
4
# 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

5
6
7
8
9
10
11
# Listener
listen: 0.0.0.0
port: 8080

# Note
note: "Make a note about your instance here."

Izalia Mae's avatar
Izalia Mae committed
12
13
14
# maximum number of inbox posts to do at once
post_limit: 512

kaniini's avatar
kaniini committed
15
16
17
18
# 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.
kaniini's avatar
kaniini committed
19
  host: 'relay.example.com'
Izalia Mae's avatar
Izalia Mae committed
20

gled's avatar
gled committed
21
22
23
  blocked_instances:
  - 'bad-instance.example.com'
  - 'another-bad-instance.example.com'
Izalia Mae's avatar
Izalia Mae committed
24

Izalia Mae's avatar
Izalia Mae committed
25
  whitelist_enabled: false
Izalia Mae's avatar
Izalia Mae committed
26

Izalia Mae's avatar
Izalia Mae committed
27
28
  whitelist:
  - 'good-instance.example.com'
Izalia Mae's avatar
Izalia Mae committed
29
  - 'another.good-instance.example.com'
Izalia Mae's avatar
Izalia Mae committed
30

31
32
33
34
35
36
37
  # 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'
Izalia Mae's avatar
Izalia Mae committed
38
39
40
41
42
43

# cache limits as number of items. only change this if you know what you're doing
cache:
  objects: 1024
  actors: 1024
  digests: 1024