Last active
April 26, 2019 15:40
-
-
Save mohak1712/2de82c8d8c523ff964ab1a31c9b3f001 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtual_hosts: | |
- name: local_service | |
domains: ["*"] | |
routes: | |
- match: { prefix: "/" } | |
route: | |
cluster: ping_pong_service | |
max_grpc_timeout: 0s | |
cors: | |
allow_origin: | |
- "*" | |
allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout | |
expose_headers: grpc-status,grpc-message | |
http_filters: | |
- name: envoy.grpc_web | |
- name: envoy.cors | |
- name: envoy.router |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment