-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.json.example
More file actions
32 lines (31 loc) · 914 Bytes
/
server.json.example
File metadata and controls
32 lines (31 loc) · 914 Bytes
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
{
"port": 443,
"https": true,
"http2": false,
"httpRedirect": true,
"rootPath": "/var/server",
"staticPath": "static",
"apiPath": "api",
"errPagePath": "error",
"socketFile": "socket/socket",
"httpsKeyFile": "certificate/key.pem",
"httpsCertFile": "certificate/cert.pem",
"nomatchFile": "static/index.html",
"apiHeaders": {
"Content-Type": "application/json; utf-8",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "*",
"Cache-Control": "no-store"
},
"staticHeaders": {
"Content-Type": "text/html; charset=utf-8"
},
"headers": {
"Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload"
},
"apiStringify": "json",
"staticCache": 0,
"timeout": 0,
"logFile": "log/server.log",
"errFile": "log/server.err"
}