Skip to content

Commit cf66718

Browse files
authored
Create envoy-config.yaml
1 parent c34bd0b commit cf66718

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

envoy-config.yaml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
static_resources:
2+
listeners:
3+
- name: default_listener
4+
address:
5+
socket_address:
6+
address: 0.0.0.0
7+
port_value: 443
8+
filter_chains:
9+
- filters:
10+
- name: envoy.filters.network.http_connection_manager
11+
typed_config:
12+
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
13+
codec_type: AUTO
14+
stat_prefix: ingress_http
15+
route_config:
16+
name: local_route
17+
virtual_hosts:
18+
- name: lipslist-frontend-host
19+
domains:
20+
- "symmetric.lipslist.com"
21+
routes:
22+
- match:
23+
prefix: "/"
24+
route:
25+
cluster: lipslist-frontend-cluster
26+
- name: lipslist-backend-host
27+
domains:
28+
- "symmetric.lipslist.com/api"
29+
routes:
30+
- match:
31+
prefix: "/"
32+
route:
33+
cluster: lipslist-backend-cluster
34+
http_filters:
35+
- name: envoy.filters.http.router
36+
transport_socket:
37+
name: envoy.transport_sockets.tls
38+
typed_config:
39+
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
40+
common_tls_context:
41+
tls_certificates:
42+
- certificate_chain: { filename: "/etc/letsencrypt/live/lipslist.com/fullchain.pem" }
43+
private_key: { filename: "/etc/letsencrypt/live/lipslist.com/privkey.pem" }
44+
clusters:
45+
- name: lipslist-frontend-cluster
46+
connect_timeout: 0.25s
47+
type: STRICT_DNS
48+
lb_policy: ROUND_ROBIN
49+
load_assignment:
50+
cluster_name: lipslist-frontend-cluster
51+
endpoints:
52+
- lb_endpoints:
53+
- endpoint:
54+
address:
55+
socket_address:
56+
address: 0.0.0.0
57+
port_value: 3000
58+
- name: lipslist-backend-cluster
59+
connect_timeout: 0.25s
60+
type: STRICT_DNS
61+
lb_policy: ROUND_ROBIN
62+
load_assignment:
63+
cluster_name: lipslist-backend-cluster
64+
endpoints:
65+
- lb_endpoints:
66+
- endpoint:
67+
address:
68+
socket_address:
69+
address: 0.0.0.0
70+
port_value: 4000

0 commit comments

Comments
 (0)