@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 41 lines 455 Bytes
Raw
1 {
2 renewal_window_ratio 0.1666
3 }
4
5 example.com {
6 }
7 ----------
8 {
9 "apps": {
10 "http": {
11 "servers": {
12 "srv0": {
13 "listen": [
14 ":443"
15 ],
16 "routes": [
17 {
18 "match": [
19 {
20 "host": [
21 "example.com"
22 ]
23 }
24 ],
25 "terminal": true
26 }
27 ]
28 }
29 }
30 },
31 "tls": {
32 "automation": {
33 "policies": [
34 {
35 "renewal_window_ratio": 0.1666
36 }
37 ]
38 }
39 }
40 }
41 }