Update Caddyfile options documentation to correct metrics activation method

Closes #435.
This commit is contained in:
David Ashby 2025-01-11 22:51:12 -05:00 committed by GitHub
parent 5b1fa3c6ba
commit 32c7e49314
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,6 +76,7 @@ Possible options are (click on each option to jump to its documentation):
} }
grace_period <duration> grace_period <duration>
shutdown_delay <duration> shutdown_delay <duration>
metrics
# TLS Options # TLS Options
auto_https off|disable_redirects|ignore_loaded_certs|disable_certs 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 <duration> keepalive_interval <duration>
trusted_proxies <module> ... trusted_proxies <module> ...
client_ip_headers <headers...> client_ip_headers <headers...>
metrics
trace trace
max_header_size <size> max_header_size <size>
enable_full_duplex enable_full_duplex
@ -965,10 +965,8 @@ Enables Prometheus metrics collection; necessary before scraping metrics. Note t
```caddy ```caddy
{ {
servers {
metrics metrics
} }
}
``` ```