-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
117 lines (117 loc) · 3.16 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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"db_clients": [
{
"rdbms": "mysql",
"host": "rm-uf66u3l39yrglobxa5o.mysql.rds.aliyuncs.com",
"port": 3306,
"dbname": "rail_ticket",
"user": "testdata",
"passwd": "Bjtu2022",
"is_fast": false,
"client_encoding": "utf8",
"number_of_connections": 1,
"timeout": -1.0,
"auto_batch": false
}
],
"app": {
"number_of_threads": 1,
"enable_session": false,
"session_timeout": 0,
"session_same_site": "Null",
"document_root": "./",
"home_page": "index.html",
"use_implicit_page": true,
"implicit_page": "index.html",
"upload_path": "uploads",
"file_types": [
"gif",
"png",
"jpg",
"js",
"css",
"html",
"ico",
"swf",
"xap",
"apk",
"cur",
"xml"
],
"mime": {},
"locations": [
{
"default_content_type": "text/plain",
"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": "",
"enable_unicode_escaping_in_json": true,
"float_precision_in_json": {
"precision": 0,
"precision_type": "significant"
},
"log": {
"logfile_base_name": "",
"log_size_limit": 100000000,
"log_level": "DEBUG"
},
"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,
"simple_controllers_map": [
{
"path": "/simple/controller",
"controller": "TestCtrl",
"http_methods": [
"get",
"post"
],
"filters": ["LoginFilter"]
}
],
"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": "1M",
"client_max_memory_body_size": "64K",
"client_max_websocket_message_size": "128K",
"reuse_port": false
},
"plugins": [
{
"dependencies": [],
"config": {
"ssl_redirect_exempt": [
".*\\.jpg"
],
"secure_ssl_host": "localhost:8849"
}
},
{
"name": "UserInfo",
"dependencies": [],
"config": {}
}
],
"custom_config": {}
}