examples: simple service listener and http_connection_manager protos. (#41)
parent
8018918aa7
commit
8a8ab07eda
2 changed files with 42 additions and 0 deletions
@ -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…
Reference in new issue