forked from sourcey/symple-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsymple.json
36 lines (31 loc) · 851 Bytes
/
symple.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
{
/*
The port to listen on (default: 4500).
If `process.env.PORT` is set, the env value will be used instead.
Port 443 should always be used for SSL.
*/
"port" : 4500, /* 443 */
/*
Session time-to-live in minutes (Redis required, default: 15 minutes)
This is the duration of time before sessions expire after the client disconnects.
If set to `-1` the session will never expire.
*/
"sessionTTL" : 15,
/* Enable or disable authentication (Redis required) */
"authentication" : true,
/* Enable users to dynamically join and leave rooms (Redis required) */
"dynamicRooms" : true,
/*
Redis configuration
*/
"redis" : {
"host" : "localhost",
"port" : 6379
},
/* SSL configuration */
"ssl" : {
"enabled" : false,
"key" : "ssl/symple.key",
"cert" : "ssl/symple.crt"
}
}