-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.json
63 lines (63 loc) · 1.8 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"server": {
"HeaderLineLimit": "1000",
"Port": "8080",
"InactivityTimeout": "1.0",
"RequestTimeout": "60.0",
"IdleTimeout": "60.0",
"BadRequestReportBytes": "100",
"InitialBanPeriod": "60.0",
"ProbationPeriod": "60.0",
"TooManyRequestsThreshold": "10.0",
"TooManyRequestsMeasurementPeriod": "1.0"
},
"secure": true,
"sslCertificate": "cert.pem",
"sslKey": "key.pem",
"sslKeyPassphrase": "password",
"plugins-image": "plugins",
"plugins-runtime": "plugins/runtime",
"plugins-enabled": ["ChatRoomPlugin", "EchoPlugin", "StaticContentPlugin"],
"plugins": {
"ChatRoomPlugin": {
"module": "ChatRoomPlugin",
"configuration": {
"space": "/chat",
"tellTimeout": 1.0,
"mathQuiz": {
"minCoolDown": 10.0,
"maxCoolDown": 30.0
},
"nicknames": [
"Alice",
"Bob",
"Carol"
]
}
},
"EchoPlugin": {
"module": "EchoPlugin",
"configuration": {
"space": "/echo"
}
},
"StaticContentPlugin": {
"module": "StaticContentPlugin",
"configuration": {
"spaces": [
{
"space": "/",
"root": "../../TestStaticContent"
},
{
"space": "/chatter",
"root": "../../chatter/build"
}
],
"filter": {
"bar": ["*.html", "*.css"]
}
}
}
}
}