-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkrakend.json
More file actions
49 lines (49 loc) · 1.03 KB
/
krakend.json
File metadata and controls
49 lines (49 loc) · 1.03 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
{
"version": 2,
"extra_config": {},
"timeout": "3000ms",
"cache_ttl": "300s",
"output_encoding": "json",
"name": "pumba",
"port": 8000,
"endpoints": [
{
"endpoint": "/session",
"method": "POST",
"output_encoding": "json",
"extra_config": {},
"backend": [
{
"url_pattern": "/session",
"encoding": "json",
"sd": "custom",
"method": "POST",
"extra_config": {},
"host": [
"http://20.76.10.244:3000"
],
"disable_host_sanitize": true
}
]
},
{
"endpoint": "/session/{id}",
"method": "GET",
"output_encoding": "json",
"extra_config": {},
"backend": [
{
"url_pattern": "/session/{id}",
"encoding": "json",
"sd": "custom",
"method": "GET",
"extra_config": {},
"host": [
"http://20.76.10.244:3000"
],
"disable_host_sanitize": true
}
]
}
]
}