mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 20:16:16 -04:00
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:
parent
d68ff4bfb8
commit
0b02c4a802
1 changed files with 4 additions and 8 deletions
|
@ -17,9 +17,7 @@ If using a Caddyfile, enable metrics [in global options](/docs/caddyfile/options
|
||||||
|
|
||||||
```caddy
|
```caddy
|
||||||
{
|
{
|
||||||
servers {
|
|
||||||
metrics
|
metrics
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -29,11 +27,9 @@ To add per host metrics you can insert the per_host option. Host specific metric
|
||||||
|
|
||||||
```caddy
|
```caddy
|
||||||
{
|
{
|
||||||
servers {
|
|
||||||
metrics {
|
metrics {
|
||||||
per_host
|
per_host
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue