Last active
August 2, 2022 15:51
-
-
Save peterj/4e7c66194078f4acf98003781ebf3d72 to your computer and use it in GitHub Desktop.
This file contains 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
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 10000 | |
filter_chains: | |
- filters: | |
- name: envoy.filters.network.http_connection_manager | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager | |
stat_prefix: edge | |
http_filters: | |
- name: envoy.filters.http.router | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router | |
route_config: | |
virtual_hosts: | |
- name: direct_response_service | |
domains: ["*"] | |
routes: | |
- match: | |
prefix: "/" | |
direct_response: | |
status: 200 | |
body: | |
inline_string: "Hello" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 15 is missing the type.
Add right below: