File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,34 @@ static_resources:
41
41
typed_config :
42
42
" @type " : type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
43
43
44
+ - address :
45
+ socket_address :
46
+ address : 0.0.0.0
47
+ port_value : 10001
48
+ filter_chains :
49
+ - filters :
50
+ - name : envoy.filters.network.http_connection_manager
51
+ typed_config :
52
+ " @type " : type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
53
+ stat_prefix : example_cluster_upstream
54
+ route_config :
55
+ name : local_route
56
+ virtual_hosts :
57
+ - name : upstream
58
+ domains :
59
+ - " *"
60
+ routes :
61
+ - match :
62
+ prefix : " /"
63
+ direct_response :
64
+ status : 200
65
+ body :
66
+ inline_string : " Helo!\n "
67
+ http_filters :
68
+ - name : envoy.filters.http.router
69
+ typed_config :
70
+ " @type " : type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
71
+
44
72
clusters :
45
73
- name : example_cluster
46
74
type : STRICT_DNS
@@ -52,5 +80,5 @@ static_resources:
52
80
- endpoint :
53
81
address :
54
82
socket_address :
55
- address : httpbin.org
56
- port_value : 80
83
+ address : 127.0.0.1
84
+ port_value : 10001
You can’t perform that action at this time.
0 commit comments