blob: be29930d3f96ebdbc91877facbf1df20d0f1a9f7 [file] [log] [blame]
Adrià Vilanova Martínezf7ee6582021-09-02 21:53:28 +02001admin:
2 access_log_path: /tmp/admin_access.log
3 address:
4 socket_address: { address: 0.0.0.0, port_value: 9901 }
5
6static_resources:
7 listeners:
8 - name: listener_0
9 address:
10 socket_address: { address: 0.0.0.0, port_value: 8081 }
11 filter_chains:
12 - filters:
13 - name: envoy.filters.network.http_connection_manager
14 typed_config:
15 "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
16 codec_type: auto
17 stat_prefix: ingress_http
18 route_config:
19 name: local_route
20 virtual_hosts:
21 - name: local_service
22 domains: ["*"]
23 routes:
24 - match: { prefix: "/" }
25 route:
26 cluster: echo_service
27 timeout: 0s
28 max_stream_duration:
29 grpc_timeout_header_max: 0s
30 cors:
31 allow_origin_string_match:
32 - prefix: "*"
33 allow_methods: GET, PUT, DELETE, POST, OPTIONS
34 allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout,authorization
35 max_age: "1728000"
36 expose_headers: custom-header-1,grpc-status,grpc-message
37 http_filters:
38 - name: envoy.filters.http.grpc_web
39 - name: envoy.filters.http.cors
40 - name: envoy.filters.http.router
41 clusters:
42 - name: echo_service
43 connect_timeout: 3s
44 type: logical_dns
45 http2_protocol_options: {}
46 lb_policy: round_robin
47 dns_lookup_family: V4_ONLY
48 load_assignment:
49 cluster_name: cluster_0
50 endpoints:
51 - lb_endpoints:
52 - endpoint:
53 address:
54 socket_address:
55 address: server
56 port_value: 10000