@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 53 lines 570 Bytes
Raw
1 {
2 dns mock
3 acme_dns
4 }
5
6 example.com {
7
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 "issuers": [
38 {
39 "challenges": {
40 "dns": {}
41 },
42 "module": "acme"
43 }
44 ]
45 }
46 ]
47 },
48 "dns": {
49 "name": "mock"
50 }
51 }
52 }
53 }