@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 28 lines 329 Bytes
Raw
1 # Issue #4113
2 :80, http://example.com {
3 respond "foo"
4 }
5 ----------
6 {
7 "apps": {
8 "http": {
9 "servers": {
10 "srv0": {
11 "listen": [
12 ":80"
13 ],
14 "routes": [
15 {
16 "handle": [
17 {
18 "body": "foo",
19 "handler": "static_response"
20 }
21 ]
22 }
23 ]
24 }
25 }
26 }
27 }
28 }