Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 1 | admin: |
| 2 | access_log_path: /tmp/envoy.log |
| 3 | address: |
| 4 | socket_address: |
| 5 | address: 0.0.0.0 |
| 6 | port_value: 8081 |
| 7 | static_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 Villin | 2a2c653 | 2024-07-23 12:51:14 +0200 | [diff] [blame] | 33 | typed_config: |
| 34 | "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 35 | 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 Ondrejicka | 2908f8c | 2023-02-02 08:58:04 +0100 | [diff] [blame] | 48 | # following address will be generated by Addresser during test run |
Maros Ondrejicka | 85396a5 | 2023-02-28 12:49:43 +0100 | [diff] [blame] | 49 | address: {{.Server}} |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 50 | port_value: 666 |
| 51 | bootstrap_extensions: |
| 52 | - name: envoy.extensions.vcl.vcl_socket_interface |
| 53 | typed_config: |
| 54 | "@type": type.googleapis.com/envoy.extensions.vcl.v3alpha.VclSocketInterface |
| 55 | default_socket_interface: "envoy.extensions.vcl.vcl_socket_interface" |