Debian Codegraph @

caddytest/integration/caddyfile_adapt/global_options_preferred_chains.caddyfiletest

raw
1 {
2 preferred_chains smallest
3 }
4
5 example.com
6 ----------
7 {
8 "apps": {
9 "http": {
10 "servers": {
11 "srv0": {
12 "listen": [
13 ":443"
14 ],
15 "routes": [
16 {
17 "match": [
18 {
19 "host": [
20 "example.com"
21 ]
22 }
23 ],
24 "terminal": true
25 }
26 ]
27 }
28 }
29 },
30 "tls": {
31 "automation": {
32 "policies": [
33 {
34 "issuers": [
35 {
36 "module": "acme",
37 "preferred_chains": {
38 "smallest": true
39 }
40 }
41 ]
42 }
43 ]
44 }
45 }
46 }
47 }