-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpp_proxy.json
More file actions
61 lines (61 loc) · 1.2 KB
/
Copy pathcpp_proxy.json
File metadata and controls
61 lines (61 loc) · 1.2 KB
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
{
"log_dir": "./",
"log_name": "tcp_proxy",
"log_max_size": 10485760,
"log_max_files": 10,
"worker_threads": 4,
"tcp_proxy": [
{
"listen_port": 9005,
"servers": [
{
"ip": "127.0.0.1",
"port": 3306,
"conn_buf_size": 131072,
"response_bypass": true
},
{
"ip": "127.0.0.1",
"port": 3306,
"conn_buf_size": 131072,
"response_bypass": true
}
]
},
{
"listen_port": 9006,
"servers": [
{
"ip": "127.0.0.1",
"port": 27017,
"conn_buf_size": 131072,
"response_bypass": true
},
{
"ip": "127.0.0.1",
"port": 27017,
"conn_buf_size": 131072,
"response_bypass": true
}
]
},
{
"listen_port": 9007,
"listen_ip": "127.0.0.1",
"servers": [
{
"ip": "127.0.0.1",
"port": 3306,
"conn_buf_size": 131072,
"response_bypass": true
},
{
"ip": "127.0.0.1",
"port": 3306,
"conn_buf_size": 131072,
"response_bypass": true
}
]
}
]
}