Debian Codegraph @

caddytest/integration/caddyfile_adapt/acme_server_default_challenges.caddyfiletest

raw
1 {
2 pki {
3 ca custom-ca {
4 name "Custom CA"
5 }
6 }
7 }
8
9 acme.example.com {
10 acme_server {
11 ca custom-ca
12 challenges
13 }
14 }
15 ----------
16 {
17 "apps": {
18 "http": {
19 "servers": {
20 "srv0": {
21 "listen": [
22 ":443"
23 ],
24 "routes": [
25 {
26 "match": [
27 {
28 "host": [
29 "acme.example.com"
30 ]
31 }
32 ],
33 "handle": [
34 {
35 "handler": "subroute",
36 "routes": [
37 {
38 "handle": [
39 {
40 "ca": "custom-ca",
41 "handler": "acme_server"
42 }
43 ]
44 }
45 ]
46 }
47 ],
48 "terminal": true
49 }
50 ]
51 }
52 }
53 },
54 "pki": {
55 "certificate_authorities": {
56 "custom-ca": {
57 "name": "Custom CA"
58 }
59 }
60 }
61 }
62 }