forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle_com_proxy.json
48 lines (48 loc) · 1.4 KB
/
google_com_proxy.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
{
"listeners": [{
"address": "tcp://127.0.0.1:10000",
"filters": [{
"name": "http_connection_manager",
"config": {
"codec_type": "auto",
"stat_prefix": "ingress_http",
"route_config": {
"virtual_hosts": [{
"name": "local_service",
"domains": [
"*"
],
"routes": [{
"timeout_ms": 0,
"prefix": "/",
"host_rewrite": "www.google.com",
"cluster": "service_google"
}]
}]
},
"filters": [{
"name": "router",
"config": {}
}]
}
}]
}],
"admin": {
"access_log_path": "/tmp/admin_access.log",
"address": "tcp://127.0.0.1:9901"
},
"cluster_manager": {
"clusters": [{
"name": "service_google",
"connect_timeout_ms": 250,
"type": "logical_dns",
"lb_type": "round_robin",
"hosts": [{
"url": "tcp://google.com:443"
}],
"ssl_context": {
"sni": "www.google.com"
}
}]
}
}