File tree 2 files changed +35
-49
lines changed
2 files changed +35
-49
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
admin :
2
- access_log_path : /tmp/admin_access.log
3
2
address :
4
- socket_address :
5
- protocol : TCP
6
- address : 0.0.0.0
7
- port_value : 9901
3
+ socket_address : { address: 127.0.0.1, port_value: 9901 }
4
+
8
5
static_resources :
9
6
listeners :
10
- - name : listener_0
11
- address :
12
- socket_address :
13
- protocol : TCP
14
- address : 0.0.0.0
15
- port_value : 10000
16
- filter_chains :
17
- - filters :
18
- - name : envoy.http_connection_manager
19
- typed_config :
20
- " @type " : type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
21
- access_log :
22
- - name : envoy.file_access_log
23
- config :
24
- path : " /dev/stdout"
25
- stat_prefix : ingress_http
26
- route_config :
27
- name : local_route
28
- virtual_hosts :
29
- - name : local_service
30
- domains : ["*"]
31
- routes :
32
- - match :
33
- prefix : " /nginx"
34
- route :
35
- prefix_rewrite : /
36
- cluster : my_nginx
37
- http_filters :
38
- - name : envoy.router
7
+ - name : listener_0
8
+ address :
9
+ socket_address : { address: 0.0.0.0, port_value: 10000 }
10
+ filter_chains :
11
+ - filters :
12
+ - name : envoy.filters.network.http_connection_manager
13
+ typed_config :
14
+ " @type " : type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
15
+ stat_prefix : ingress_http
16
+ codec_type : AUTO
17
+ route_config :
18
+ name : local_route
19
+ virtual_hosts :
20
+ - name : local_service
21
+ domains : ["*"]
22
+ routes :
23
+ - match : { prefix: "/" }
24
+ route : { cluster: some_service }
25
+ http_filters :
26
+ - name : envoy.filters.http.router
39
27
clusters :
40
- - name : my_nginx
41
- connect_timeout : 0.25s
42
- type : LOGICAL_DNS
43
- # Comment out the following line to test on v6 networks
44
- dns_lookup_family : V4_ONLY
45
- lb_policy : ROUND_ROBIN
46
- load_assignment :
47
- cluster_name : my_nginx
48
- endpoints :
49
- - lb_endpoints :
50
- - endpoint :
51
- address :
52
- socket_address :
53
- address : nginx
54
- port_value : 80
28
+ - name : some_service
29
+ connect_timeout : 0.25s
30
+ type : LOGICAL_DNS
31
+ lb_policy : ROUND_ROBIN
32
+ load_assignment :
33
+ cluster_name : some_service
34
+ endpoints :
35
+ - lb_endpoints :
36
+ - endpoint :
37
+ address :
38
+ socket_address :
39
+ address : nginx
40
+ port_value : 80
You can’t perform that action at this time.
0 commit comments