-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
config.json
45 lines (43 loc) · 962 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
43
44
45
{
"servers": [
{
"server": {
"port": 8000,
"host": "0.0.0.0"
},
"websockets": {
"path": "/*",
"maxPayloadLength": 65536,
"idleTimeout": 240,
"compression": 1,
"maxConnections": 0
}
},
{
"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
}
}