@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 46 lines 620 Bytes
Raw
1 http://handle {
2 file_server
3 }
4 ----------
5 {
6 "apps": {
7 "http": {
8 "servers": {
9 "srv0": {
10 "listen": [
11 ":80"
12 ],
13 "routes": [
14 {
15 "match": [
16 {
17 "host": [
18 "handle"
19 ]
20 }
21 ],
22 "handle": [
23 {
24 "handler": "subroute",
25 "routes": [
26 {
27 "handle": [
28 {
29 "handler": "file_server",
30 "hide": [
31 "./Caddyfile"
32 ]
33 }
34 ]
35 }
36 ]
37 }
38 ],
39 "terminal": true
40 }
41 ]
42 }
43 }
44 }
45 }
46 }