@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 35 lines 434 Bytes
Raw
1 :80
2
3 file_server {
4 hide first.txt
5 hide second.txt third.txt
6 }
7 ----------
8 {
9 "apps": {
10 "http": {
11 "servers": {
12 "srv0": {
13 "listen": [
14 ":80"
15 ],
16 "routes": [
17 {
18 "handle": [
19 {
20 "handler": "file_server",
21 "hide": [
22 "first.txt",
23 "second.txt",
24 "third.txt",
25 "./Caddyfile"
26 ]
27 }
28 ]
29 }
30 ]
31 }
32 }
33 }
34 }
35 }