@marcel91200 / caddy Mirror · read-only
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 01:00 UTC

master
caddyfiletest 76 lines 1.04 KB
Raw
1 {
2 email nobody@example.com
3 ech example.com ech.example.net
4 }
5
6 example.com {
7 tls internal
8 }
9 ----------
10 {
11 "apps": {
12 "http": {
13 "servers": {
14 "srv0": {
15 "listen": [
16 ":443"
17 ],
18 "routes": [
19 {
20 "match": [
21 {
22 "host": [
23 "example.com"
24 ]
25 }
26 ],
27 "terminal": true
28 }
29 ]
30 }
31 }
32 },
33 "tls": {
34 "automation": {
35 "policies": [
36 {
37 "subjects": [
38 "example.com"
39 ],
40 "issuers": [
41 {
42 "module": "internal"
43 }
44 ]
45 },
46 {
47 "subjects": [
48 "ech.example.net"
49 ],
50 "issuers": [
51 {
52 "email": "nobody@example.com",
53 "module": "acme"
54 },
55 {
56 "ca": "https://acme.zerossl.com/v2/DV90",
57 "email": "nobody@example.com",
58 "module": "acme"
59 }
60 ]
61 }
62 ]
63 },
64 "encrypted_client_hello": {
65 "configs": [
66 {
67 "public_name": "example.com"
68 },
69 {
70 "public_name": "ech.example.net"
71 }
72 ]
73 }
74 }
75 }
76 }