relay.yaml.example 969 Bytes
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."

kaniini's avatar
kaniini committed
12
13
14
15
# 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
16
  host: 'relay.example.com'
gled's avatar
gled committed
17
18
19
  blocked_instances:
  - 'bad-instance.example.com'
  - 'another-bad-instance.example.com'
Izalia Mae's avatar
Izalia Mae committed
20
21
22
  whitelist_enabled: false
  whitelist:
  - 'good-instance.example.com'
Izalia Mae's avatar
Izalia Mae committed
23
  - 'another.good-instance.example.com'
24
25
26
27
28
29
30
  # 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'