@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 31 lines 403 Bytes
Raw
1 :80 {
2 route {
3 # unused matchers should not panic
4 # see https://github.com/caddyserver/caddy/issues/3745
5 @matcher1 path /path1
6 @matcher2 path /path2
7 }
8 }
9 ----------
10 {
11 "apps": {
12 "http": {
13 "servers": {
14 "srv0": {
15 "listen": [
16 ":80"
17 ],
18 "routes": [
19 {
20 "handle": [
21 {
22 "handler": "subroute"
23 }
24 ]
25 }
26 ]
27 }
28 }
29 }
30 }
31 }