@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 80 lines 1 KB
Raw
1 one.example.com {
2 log
3 }
4
5 two.example.com {
6 }
7
8 three.example.com {
9 }
10
11 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 "three.example.com"
28 ]
29 }
30 ],
31 "terminal": true
32 },
33 {
34 "match": [
35 {
36 "host": [
37 "one.example.com"
38 ]
39 }
40 ],
41 "terminal": true
42 },
43 {
44 "match": [
45 {
46 "host": [
47 "two.example.com"
48 ]
49 }
50 ],
51 "terminal": true
52 },
53 {
54 "match": [
55 {
56 "host": [
57 "example.com"
58 ]
59 }
60 ],
61 "terminal": true
62 }
63 ],
64 "logs": {
65 "logger_names": {
66 "one.example.com": [
67 ""
68 ]
69 },
70 "skip_hosts": [
71 "example.com",
72 "three.example.com",
73 "two.example.com"
74 ]
75 }
76 }
77 }
78 }
79 }
80 }