@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 29 lines 330 Bytes
Raw
1 example.com {
2 bind tcp6/[::]
3 }
4 ----------
5 {
6 "apps": {
7 "http": {
8 "servers": {
9 "srv0": {
10 "listen": [
11 "tcp6/[::]:443"
12 ],
13 "routes": [
14 {
15 "match": [
16 {
17 "host": [
18 "example.com"
19 ]
20 }
21 ],
22 "terminal": true
23 }
24 ]
25 }
26 }
27 }
28 }
29 }