@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 56 lines 653 Bytes
Raw
1 {
2 ech Example.COM
3 }
4
5 example.com {
6 tls internal
7 }
8 ----------
9 {
10 "apps": {
11 "http": {
12 "servers": {
13 "srv0": {
14 "listen": [
15 ":443"
16 ],
17 "routes": [
18 {
19 "match": [
20 {
21 "host": [
22 "example.com"
23 ]
24 }
25 ],
26 "terminal": true
27 }
28 ]
29 }
30 }
31 },
32 "tls": {
33 "automation": {
34 "policies": [
35 {
36 "subjects": [
37 "example.com"
38 ],
39 "issuers": [
40 {
41 "module": "internal"
42 }
43 ]
44 }
45 ]
46 },
47 "encrypted_client_hello": {
48 "configs": [
49 {
50 "public_name": "Example.COM"
51 }
52 ]
53 }
54 }
55 }
56 }