blob: 77da80d934d86ec5ea929e638c67bec6e93f6a56 [file] [log] [blame]
Filip Tehlar229f5fc2022-08-09 14:44:47 +00001admin:
2 access_log_path: /tmp/envoy.log
3 address:
4 socket_address:
5 address: 0.0.0.0
6 port_value: 8081
7static_resources:
8 listeners:
9 # define a reverse proxy on :10001 that always uses :80 as an origin.
10 - address:
11 socket_address:
12 protocol: TCP
13 address: 0.0.0.0
14 port_value: 555
15 filter_chains:
16 - filters:
17 - name: envoy.filters.network.http_connection_manager
18 typed_config:
19 "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
20 stat_prefix: ingress_http
21 route_config:
22 name: local_route
23 virtual_hosts:
24 - name: service
25 domains: ["*"]
26 routes:
27 - match:
28 prefix: "/"
29 route:
30 cluster: proxy_service
31 http_filters:
32 - name: envoy.filters.http.router
33 clusters:
34 - name: proxy_service
35 connect_timeout: 0.25s
36 type: LOGICAL_DNS
37 dns_lookup_family: V4_ONLY
38 lb_policy: ROUND_ROBIN
39 load_assignment:
40 cluster_name: proxy_service
41 endpoints:
42 - lb_endpoints:
43 - endpoint:
44 address:
45 socket_address:
Maros Ondrejicka2908f8c2023-02-02 08:58:04 +010046 # following address will be generated by Addresser during test run
Maros Ondrejicka85396a52023-02-28 12:49:43 +010047 address: {{.Server}}
Filip Tehlar229f5fc2022-08-09 14:44:47 +000048 port_value: 666
49bootstrap_extensions:
50 - name: envoy.extensions.vcl.vcl_socket_interface
51 typed_config:
52 "@type": type.googleapis.com/envoy.extensions.vcl.v3alpha.VclSocketInterface
53default_socket_interface: "envoy.extensions.vcl.vcl_socket_interface"