-
Notifications
You must be signed in to change notification settings - Fork 39
/
api-endpointgroup.json
51 lines (49 loc) · 1.2 KB
/
api-endpointgroup.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
{
"id": "my-api",
"name": "my-team-api",
"proxy": {
"context_path": "/team",
"groups": [
{
"name": "default",
"http" : {
"connectTimeout" : 5000,
"idleTimeout" : 60000,
"keepAliveTimeout" : 30000,
"keepAlive" : true,
"readTimeout" : 10000,
"pipelining" : false,
"maxConcurrentConnections" : 100,
"useCompression" : true,
"followRedirects" : true
},
"endpoints": [
{
"name": "endpoint_0",
"target": "http://host1:8083/myapi",
"inherit": true
}, {
"name": "endpoint_1",
"target": "http://host2:8083/myapi",
"http" : {
"connectTimeout" : 4000,
"idleTimeout" : 50000,
"keepAliveTimeout" : 30000,
"keepAlive" : true,
"readTimeout" : 9000,
"pipelining" : false,
"maxConcurrentConnections" : 90,
"useCompression" : true,
"followRedirects" : false
}
}
]
}
],
"strip_context_path": false
},
"paths": {
"/*": [
]
}
}