Last active
September 11, 2018 23:44
-
-
Save bufferings/1387d0074c1eae576eb07e31ab876015 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
admin: | |
access_log_path: /tmp/admin_access.log | |
address: | |
socket_address: | |
protocol: TCP | |
address: 127.0.0.1 | |
port_value: 9901 | |
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: | |
protocol: TCP | |
address: 0.0.0.0 | |
port_value: 10000 | |
filter_chains: | |
- filters: | |
- name: envoy.http_connection_manager | |
config: | |
stat_prefix: ingress_http | |
route_config: | |
name: local_route | |
virtual_hosts: | |
- name: local_service | |
domains: ["*"] | |
routes: | |
- match: | |
prefix: "/" | |
route: | |
host_rewrite: www.yahoo.co.jp | |
cluster: service_yahoojp | |
http_filters: | |
- name: envoy.router | |
clusters: | |
- name: service_yahoojp | |
connect_timeout: 0.25s | |
type: LOGICAL_DNS | |
# Comment out the following line to test on v6 networks | |
dns_lookup_family: V4_ONLY | |
lb_policy: ROUND_ROBIN | |
hosts: | |
- socket_address: | |
address: yahoo.co.jp | |
port_value: 443 | |
tls_context: { sni: www.yahoo.co.jp } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment