-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
88 lines (88 loc) · 1.87 KB
/
config.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"listeners": [
{
"address": "0.0.0.0",
"port": 3005,
"https": false
}
],
"app": {
"number_of_threads": 12,
"upload_path": "uploads",
"file_types": [
"gif",
"png",
"jpg",
"webp"
],
"mime": {
},
"locations": [
{
"default_content_type": "application/json",
"alias": "",
"is_case_sensitive": false,
"allow_all": true,
"is_recursive": true,
"filters": []
}
],
"max_connections": 100000,
"max_connections_per_ip": 0,
"load_dynamic_views": false,
"dynamic_views_path": [
"./views"
],
"dynamic_views_output_path": "",
"json_parser_stack_limit": 100000,
"enable_unicode_escaping_in_json": true,
"float_precision_in_json": {
"precision": 0,
"precision_type": "significant"
},
"log": {
"logfile_base_name": "",
"log_size_limit": 100000000,
"max_files": 0,
"log_level": "DEBUG",
"display_local_time": false
},
"run_as_daemon": false,
"handle_sig_term": true,
"relaunch_on_error": false,
"use_sendfile": true,
"use_gzip": true,
"use_brotli": false,
"static_files_cache_time": 5,
"idle_connection_timeout": 60,
"server_header_field": "",
"enable_server_header": true,
"enable_date_header": true,
"keepalive_requests": 0,
"pipelining_requests": 0,
"gzip_static": true,
"br_static": true,
"client_max_body_size": "10M",
"client_max_memory_body_size": "64K",
"client_max_websocket_message_size": "128K",
"reuse_port": false,
"enabled_compressed_request": false
},
"custom_config": {
"server": {
"host": ""
},
"database": {
"uri": "",
"name": ""
},
"jwt": {
"secret": "",
"issuer": "",
"host": ""
},
"crypto": {
"secret": ""
}
}
}