-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharc.yaml.example
More file actions
65 lines (59 loc) · 1.14 KB
/
Copy patharc.yaml.example
File metadata and controls
65 lines (59 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
node:
id: "arc-dev"
workers: 0
max_connections: 0
read_timeout: 30s
write_timeout: 30s
idle_timeout: 60s
listeners:
- name: "http"
kind: http
bind: "0.0.0.0:8080"
socket:
so_reuseport: true
- name: "https"
kind: https
bind: "0.0.0.0:8443"
tls:
certificates:
- sni: "localhost"
cert_pem: "./certs/dev.crt.pem"
key_pem: "./certs/dev.key.pem"
upstreams:
- name: "app"
discovery:
type: static
endpoints:
- address: "127.0.0.1:3000"
weight: 1
- address: "127.0.0.1:3001"
weight: 1
lb:
algorithm: peak_ewma
decay: 10s
routes:
- name: "root"
match:
host: ["localhost"]
methods: ["GET", "POST"]
path: "/{*rest}"
headers: []
cookies: []
query: []
action:
upstream: "app"
retry:
max_retries: 1
backoff: 50ms
idempotent_only: true
plugins: {}
observability:
metrics_enabled: true
metrics_bind: "127.0.0.1:9090"
access_log:
enabled: true
sample: 1.0
disabled_routes: []
control_plane:
enabled: true
bind: "127.0.0.1:9900"