blob: e4a5b81ff65dc3b83916128874417415a89240c5 [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:
46 address: 10.0.1.1
47 port_value: 666
48bootstrap_extensions:
49 - name: envoy.extensions.vcl.vcl_socket_interface
50 typed_config:
51 "@type": type.googleapis.com/envoy.extensions.vcl.v3alpha.VclSocketInterface
52default_socket_interface: "envoy.extensions.vcl.vcl_socket_interface"