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