Skip to content

Instantly share code, notes, and snippets.

@moderation
Created July 14, 2021 00:40
Show Gist options
  • Save moderation/5d9c5352842ca068781f367a6e5f2a39 to your computer and use it in GitHub Desktop.
Save moderation/5d9c5352842ca068781f367a6e5f2a39 to your computer and use it in GitHub Desktop.
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