blob: 41fc0044c9914707b476465fc592503be3e678b1 [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
Adrian Villin2a2c6532024-07-23 12:51:14 +020033 typed_config:
34 "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
Filip Tehlar229f5fc2022-08-09 14:44:47 +000035 clusters:
36 - name: proxy_service
37 connect_timeout: 0.25s
38 type: LOGICAL_DNS
39 dns_lookup_family: V4_ONLY
40 lb_policy: ROUND_ROBIN
41 load_assignment:
42 cluster_name: proxy_service
43 endpoints:
44 - lb_endpoints:
45 - endpoint:
46 address:
47 socket_address:
Maros Ondrejicka2908f8c2023-02-02 08:58:04 +010048 # following address will be generated by Addresser during test run
Maros Ondrejicka85396a52023-02-28 12:49:43 +010049 address: {{.Server}}
Filip Tehlar229f5fc2022-08-09 14:44:47 +000050 port_value: 666
51bootstrap_extensions:
52 - name: envoy.extensions.vcl.vcl_socket_interface
53 typed_config:
54 "@type": type.googleapis.com/envoy.extensions.vcl.v3alpha.VclSocketInterface
55default_socket_interface: "envoy.extensions.vcl.vcl_socket_interface"