/
example.json
46 lines (46 loc) · 1.01 KB
/
example.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
{
"listen": {
"host": "127.0.0.1",
"port": 8089
},
"timeout": 90000,
"plugins": [
"mongosessions"
],
"aclAllowBaseDomain": "myapp.dev",
"checkXRequestedWith": false,
"basePath": "/svc",
"httpProxy": {
"silent": false,
"xfwd": true,
"changeOrigin": true
},
"routes": {
"/svc/alerts": "http://alerts.myapp.dev",
"/svc/users": "http://users.myapp.dev"
},
"wsMaps": {
"notifications": "ws://notifications.myapp.dev:8090/websockets/"
},
"logResets": false,
"logger": {
"transports": [
{
"transport": "File",
"filename": "./myapp.log",
"json": false,
"maxsize": 1048576,
"maxFiles": 1
}
]
},
"socket.io": {
"polling duration": 10,
"browser client": false,
"match origin protocol": true,
"path": "/svc/socket.io"
},
"mongosessions": {
"required": true
}
}