-
Notifications
You must be signed in to change notification settings - Fork 0
/
server-config.json
51 lines (49 loc) · 1.43 KB
/
server-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
{
"ServerConfig": {
"host": "10.0.0.19",
"HTTPPort": 80,
"HTTPSPort": 443,
"logger": "dev",
"enableUpload": true,
"enableCompression": true,
"webRoot": "/public",
"fileUploadFolder": "./uploads",
"enableSessions": true,
"secret": "vdW3F6y3506h",
"sessionSecret": "vdW3F6y3506h",
"sessionMaxAge": 600000,
"enableCORS": true,
"AccessControlAllowOrigin": "*",
"AccessControlAllowMethods": "GET,PUT,POST,DELETE,OPTIONS",
"AccessControlAllowHeaders": "Origin, X-Requested-With, Content-Type, Accept",
"AccessControlAllowCredentials": true,
"AccessControlMaxAge": 3600
},
"MySQLConfig": {
"host": "localhost",
"user": "zm",
"password": "zm",
"database": "zm"
},
"ExtDirectConfig": {
"rootNamespace": "ExtRemote",
"apiName": "REMOTING_API",
"apiUrl": "/directapi",
"classRouteUrl": "/direct",
"classPath": "/direct",
"server": "10.0.0.19",
"cacheAPI": false,
"port": "443",
"protocol": "https",
"relativeUrl": false,
"enableMetadata": false,
"appendRequestResponseObjects": true,
"appendRequestRequestObjects": true,
"responseHelper": false,
"enableProcessors": false
},
"Monitor": {
"timerZM": "2000",
"timerSMTP": "2000"
}
}