From 0b02c4a802f1cec520f7142aab3186f561083732 Mon Sep 17 00:00:00 2001 From: Camerin Figueroa Date: Sat, 1 Mar 2025 19:40:39 -0500 Subject: [PATCH] Update metrics code block to reflect change Per mohammed90 The metrics config is now moved outside of the servers option. --- src/docs/markdown/metrics.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/docs/markdown/metrics.md b/src/docs/markdown/metrics.md index faab5a0..e3485a4 100644 --- a/src/docs/markdown/metrics.md +++ b/src/docs/markdown/metrics.md @@ -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 + } } ```