-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.json
49 lines (49 loc) · 1.27 KB
/
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
{
"listeners": [
{
"address": "127.0.0.1",
"port": 8080,
"https": false
}
],
"db_clients": [
{
"rdbms": "sqlite3",
"filename": "app.db",
"dbname": "app",
"user": "",
"passwd": "",
"is_fast": false,
"number_of_connections": 1
}
],
"app": {
"number_of_threads": 1,
"enable_session": false,
"session_timeout": 0,
"document_root": "./",
"max_connections": 100000,
"max_connections_per_ip": 0,
"enable_unicode_escaping_in_json": true,
"float_precision_in_json": {
"precision": 0,
"precision_type": "significant"
},
"log": {
"log_level": "TRACE"
},
"run_as_daemon": false,
"handle_sig_term": true,
"relaunch_on_error": false,
"use_gzip": true,
"idle_connection_timeout": 60,
"client_max_body_size": "1M",
"client_max_memory_body_size": "64K",
"client_max_websocket_message_size": "128K",
"reuse_port": false
},
"custom_config": {
"jwt_secret": "my-ultra-secure-and-ultra-long-secret",
"jwt_expires_in": 86400
}
}