Debian Codegraph @

caddytest/integration/caddyfile_adapt/http_only_on_hostless_block.caddyfiletest

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 }