-
Notifications
You must be signed in to change notification settings - Fork 12
/
zilla.yaml
77 lines (77 loc) · 1.41 KB
/
zilla.yaml
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
66
67
68
69
70
71
72
73
74
75
76
77
---
name: example
vaults:
your_clients:
type: filesystem
options:
trust:
store: tls/truststore.p12
type: pkcs12
password: ${{env.KEYSTORE_PASSWORD}}
my_servers:
type: filesystem
options:
keys:
store: tls/localhost.p12
type: pkcs12
password: ${{env.KEYSTORE_PASSWORD}}
bindings:
north_tcp_server:
type: tcp
kind: server
options:
host: 0.0.0.0
port: 7143
exit: north_tls_server
north_tls_server:
type: tls
kind: server
vault: my_servers
options:
keys:
- localhost
sni:
- localhost
alpn:
- h2
exit: north_http_server
north_http_server:
type: http
kind: server
options:
access-control:
policy: cross-origin
routes:
- when:
- headers:
:scheme: https
:authority: localhost:7143
:path: /*
exit: south_http_client
south_http_client:
type: http
kind: client
exit: south_tls_client
south_tls_client:
type: tls
kind: client
vault: your_clients
options:
trustcacerts: true
trust:
- nginx
sni:
- nginx
alpn:
- h2
exit: south_tcp_client
south_tcp_client:
type: tcp
kind: client
options:
host: nginx
port: 443
telemetry:
exporters:
stdout_logs_exporter:
type: stdout