From 32c7e493146e4451a5b50d391030e799f91c4dbb Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sat, 11 Jan 2025 22:51:12 -0500 Subject: [PATCH] Update Caddyfile options documentation to correct metrics activation method 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 } ```