-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
33 lines (33 loc) · 935 Bytes
/
config.json.example
File metadata and controls
33 lines (33 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"server": {
"domain": "127.0.0.1:5000",
"protocol": "https",
"host": "0.0.0.0",
"port": 5000,
"debug": true,
"user_agent": "TinyFedi/1.0"
},
"activitypub": {
"username": "blog",
"actor_name": "localhost's blog",
"actor_summary": "A personal blog with federated posts",
"namespace": "activitypub",
"auto_accept_follow_requests": true,
"max_page_size": 20
},
"security": {
"public_key_file": "keys/public_key.pem",
"private_key_file": "keys/private_key.pem",
"require_http_signatures": false,
"c2s_token": "REPLACE_ME: run `python3 -c 'import secrets; print(secrets.token_hex(32))'` and paste here",
"cors_origins": ["http://localhost:8001"]
},
"directories": {
"inbox": "data/inbox",
"data_root": "data",
"outbox": "data/outbox",
"posts_local": "data/posts/local",
"posts_remote": "data/posts/remote",
"followers": "data"
}
}