From f0a4b9516a2f48a553685ade1bba6b3641d2a6a6 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sun, 12 Jan 2025 00:31:27 -0500 Subject: [PATCH] Update Caddyfile options documentation to correct metrics activation method (#448) Closes #435. --- src/docs/markdown/caddyfile/options.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index 28bef0d..f01e978 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -76,6 +76,7 @@ Possible options are (click on each option to jump to its documentation): } grace_period shutdown_delay + metrics # TLS Options auto_https off|disable_redirects|ignore_loaded_certs|disable_certs @@ -121,7 +122,6 @@ Possible options are (click on each option to jump to its documentation): keepalive_interval trusted_proxies ... client_ip_headers - metrics trace max_header_size enable_full_duplex @@ -965,9 +965,7 @@ Enables Prometheus metrics collection; necessary before scraping metrics. Note t ```caddy { - servers { - metrics - } + metrics } ```