Update metrics code block to reflect change

Per mohammed90

The metrics config is now moved outside of the servers option.
This commit is contained in:
Camerin Figueroa 2025-03-01 19:40:39 -05:00 committed by GitHub
parent d68ff4bfb8
commit 0b02c4a802
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,9 +17,7 @@ If using a Caddyfile, enable metrics [in global options](/docs/caddyfile/options
```caddy
{
servers {
metrics
}
metrics
}
```
@ -29,11 +27,9 @@ To add per host metrics you can insert the per_host option. Host specific metric
```caddy
{
servers {
metrics {
per_host
}
}
metrics {
per_host
}
}
```