forked from Novage/wt-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
42 lines (40 loc) · 924 Bytes
/
config.json
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
34
35
36
37
38
39
40
41
42
{
"servers": [{
"server": {
"port": 8000,
"host": "0.0.0.0"
},
"websockets": {
"path": "/*",
"maxPayloadLength": 65536,
"idleTimeout": 240,
"compression": 1
}
}, {
"server": {
"port": 8433,
"host": "0.0.0.0",
"key_file_name": "misc/key.pem",
"cert_file_name": "misc/cert.pem",
"passphrase": "1234",
"dh_params_file_name": "misc/params.dh",
"ssl_prefer_low_memory_usage": true
},
"websockets": {
"path": "/*",
"maxPayloadLength": 65536,
"idleTimeout": 240,
"compression": 1
}
}
],
"tracker": {
"maxOffers": 20,
"announceInterval": 120
},
"websocketsAccess": {
"allowOrigins": ["https://xxx.com", "https://yyy.com"],
"denyOrigins": ["https://xxx.com", "https://yyy.com"],
"denyEmptyOrigin": true
}
}