-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathexampleConfig.json
44 lines (44 loc) · 927 Bytes
/
exampleConfig.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
{
"server": {
"httpPort": 80,
"httpsPort": 443
},
"letsencrypt": {
"email": "[email protected]",
"test": false
},
"routerTable": {
"mysubdomain.mydomain.com": {
"target": "http://localhost:10200",
"ssl": {
"enable": false,
"generate": false,
"onlySecure": false
},
"errorRedirect": "http://www.myerrorpage.com"
},
"myothersubdomain.mydomain.com": {
"target": "http://localhost:10201",
"ssl": {
"enable": true,
"generate": true,
"onlySecure": true,
"insecureRedirect": "https://somepagesayingsomething.mydomain.com"
},
"errorRedirect": "http://www.myerrorpage.com"
},
"yetanothersubdomain.mydomain.com": {
"target": "http://localhost:10202",
"ssl": {
"enable": true,
"generate": true,
"onlySecure": true,
"insecureRedirect": true
},
"errorRedirect": "http://www.myerrorpage.com"
}
},
"errors": {
"404": "404 Not found"
}
}