-
Notifications
You must be signed in to change notification settings - Fork 10
/
drogon_config.json
50 lines (50 loc) · 1.25 KB
/
drogon_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
{
"listeners": [
{
"address": "0.0.0.0",
"port": 8848,
"https": false
}
],
"app": {
"document_root": "../content",
"enable_session": false,
"log": {
"log_path": "../logs",
"logfile_base_name": "drogon_website",
"log_size_limit": 100000000,
"log_level": "TRACE"
},
"run_as_daemon": true,
"relaunch_on_error": true,
"file_types": [
"gif",
"png",
"jpg",
"js",
"css",
"html",
"ico",
"swf",
"xap",
"apk",
"cur",
"xml",
"woff"
]
},
"plugins": [
{
"name": "drogon::plugin::AccessLogger",
"dependencies": [],
"config": {
"log_path": "../logs",
"log_format": "$request_date $method $url [$body_bytes_received] ($remote_addr - $local_addr) $status $body_bytes_sent $processing_time",
"log_file": "access.log",
"log_size_limit": 100000000,
"use_local_time": true,
"log_index": 0
}
}
]
}