Debian Codegraph @

caddytest/integration/caddyfile_adapt/http_only_on_any_address.caddyfiletest

raw
1 :80 {
2 respond /version 200 {
3 body "hello from localhost"
4 }
5 }
6 ----------
7 {
8 "apps": {
9 "http": {
10 "servers": {
11 "srv0": {
12 "listen": [
13 ":80"
14 ],
15 "routes": [
16 {
17 "match": [
18 {
19 "path": [
20 "/version"
21 ]
22 }
23 ],
24 "handle": [
25 {
26 "body": "hello from localhost",
27 "handler": "static_response",
28 "status_code": 200
29 }
30 ]
31 }
32 ]
33 }
34 }
35 }
36 }
37 }