Created
July 14, 2021 01:16
-
-
Save moderation/110da28f955959860f928deca33fd705 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: { | |
address: socket_address: { | |
address: "::1" | |
port_value: 9090 | |
} | |
} | |
static_resources: { | |
clusters: [{ | |
connect_timeout: "0.5s" | |
lb_policy: "ROUND_ROBIN" | |
load_assignment: { | |
cluster_name: "datasette" | |
endpoints: [{ | |
lb_endpoints: [{ | |
endpoint: address: pipe: path: "/tmp/datasette.sock" | |
}] | |
}] | |
} | |
name: "datasette" | |
type: "STATIC" | |
}] | |
listeners: [{ | |
address: socket_address: { | |
address: "::1" | |
port_value: 8080 | |
} | |
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" | |
codec_type: "AUTO" | |
http_filters: [{ | |
name: "envoy.filters.http.router" | |
}] | |
route_config: { | |
name: "local_route" | |
virtual_hosts: [{ | |
domains: ["*"] | |
name: "datasette" | |
routes: [{ | |
match: prefix: "/" | |
route: cluster: "datasette" | |
}] | |
}] | |
} | |
stat_prefix: "datasette" | |
} | |
}] | |
}] | |
name: "datasette" | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment