mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-06 00:04:02 +08:00
37 lines
431 B
Plaintext
37 lines
431 B
Plaintext
|
:80 {
|
||
|
metrics /metrics {
|
||
|
disable_openmetrics
|
||
|
}
|
||
|
}
|
||
|
----------
|
||
|
{
|
||
|
"apps": {
|
||
|
"http": {
|
||
|
"servers": {
|
||
|
"srv0": {
|
||
|
"listen": [
|
||
|
":80"
|
||
|
],
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": [
|
||
|
{
|
||
|
"path": [
|
||
|
"/metrics"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"handle": [
|
||
|
{
|
||
|
"disable_openmetrics": true,
|
||
|
"handler": "metrics"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|