Debian Codegraph @

caddytest/integration/caddyfile_adapt/metrics_syntax.caddyfiletest

raw
1 :80 {
2 metrics /metrics
3 }
4 ----------
5 {
6 "apps": {
7 "http": {
8 "servers": {
9 "srv0": {
10 "listen": [
11 ":80"
12 ],
13 "routes": [
14 {
15 "match": [
16 {
17 "path": [
18 "/metrics"
19 ]
20 }
21 ],
22 "handle": [
23 {
24 "handler": "metrics"
25 }
26 ]
27 }
28 ]
29 }
30 }
31 }
32 }
33 }