Skip to content

Commit 04ebce6

Browse files
committed
Update envoy.yaml
1 parent a32342d commit 04ebce6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

envoy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ static_resources:
2424
google_re2: {}
2525
regex: ".*"
2626
allow_methods: "GET, PUT, DELETE, POST, OPTIONS"
27-
allow_headers: "keep-alive,user-agent,x-requested-with,if-modified-since,cache-control,content-type,authorization,grpc-timeout"
27+
allow_headers: "keep-alive,user-agent,x-requested-with,if-modified-since,cache-control,content-type,authorization,grpc-timeout,x-user-agent,x-grpc-web,key"
2828
expose_headers: "custom-header1,grpc-status,grpc-message"
2929
max_age: "1728000"
3030
http_filters:
31+
- name: envoy.filters.http.cors
32+
typed_config:
33+
"@type": type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
3134
- name: envoy.filters.http.grpc_http1_bridge
3235
typed_config:
3336
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_http1_bridge.v3.Config
3437
- name: envoy.filters.http.grpc_web
3538
typed_config:
3639
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
37-
- name: envoy.filters.http.cors
38-
typed_config:
39-
"@type": type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
4040
- name: envoy.filters.http.router
4141
typed_config:
4242
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

0 commit comments

Comments
 (0)