examples: simple service listener and http_connection_manager protos. (#41)

pull/46/head
htuch 8 years ago committed by GitHub
parent 8018918aa7
commit 8a8ab07eda
  1. 26
      examples/service_envoy/http_connection_manager.pb
  2. 16
      examples/service_envoy/listeners.pb

@ -0,0 +1,26 @@
codec_type: AUTO
stat_prefix: "ingress_http"
route_config {
virtual_hosts {
name: "service"
domains: "*"
routes {
match {
prefix: "/service"
}
forward {
cluster: "local_service"
timeout {
seconds: 0
}
}
}
}
}
http_filters {
type: DECODER
name: "router"
}

@ -0,0 +1,16 @@
listeners {
resolved_address {
socket_address {
protocol: TCP
port {
value: 80
}
}
}
filter_chains {
filter_chain {
type: READ
name: "http_connection_manager"
}
}
}
Loading…
Cancel
Save