-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.json
40 lines (39 loc) · 825 Bytes
/
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
{
// in this JSON file comments are allowed
"listeners": [
{
"address": "127.0.0.1",
"port": 8081,
"https": false
}
],
"app": {
"document_root": "./builddir",
"number_of_threads": 0, // use 0 to get as many threads as there are CPUs
"static_files_cache_time": 30,
// "sendfile_max_size": "10M", this has no effect until PR #1466 gets merged (https://github.com/drogonframework/drogon/pull/1466)
"file_types": [
"gif",
"png",
"jpg",
"js",
"css",
"html",
"ico",
"swf",
"xap",
"apk",
"cur",
"xml",
"mp4",
"webp",
"woff2",
"ico"
],
"use_brotli": true,
"log": {
"log_size_limit": 100000000,
"log_level": "DEBUG" // use TRACE for extra log info
}
}
}