From 8e7b3b81d0935e7b6956f7a1933da75a3523fa97 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 9 Apr 2020 17:32:50 -0600 Subject: [PATCH] docs: Update for rc2 --- src/docs/markdown/caddyfile/matchers.md | 8 +++++++- src/docs/markdown/caddyfile/options.md | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/docs/markdown/caddyfile/matchers.md b/src/docs/markdown/caddyfile/matchers.md index 71e0e5f..1d967d3 100644 --- a/src/docs/markdown/caddyfile/matchers.md +++ b/src/docs/markdown/caddyfile/matchers.md @@ -223,13 +223,19 @@ By the method (verb) of the HTTP request. Verbs should be uppercase, like `POST` ### not +``` +not +``` + +or, to negate multiple matchers which get AND'ed, open a block: + ``` not { } ``` -Encloses other matchers and negates their result. +The results of the enclosed matchers will be negated. ### path diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index ff7d326..2f3583d 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -39,6 +39,7 @@ Possible options are: burst } local_certs + key_type ed25519|p256|p384|rsa2048|rsa4096 } ``` @@ -56,4 +57,5 @@ Possible options are: - **on_demand_tls** configures [On-Demand TLS](/docs/automatic-https#on-demand-tls) where it is enabled, but does not enable it (to enable it, use the [on_demand `tls` subdirective](/docs/caddyfile/directives/tls#syntax)). Highly recommended if using in production environments, to prevent abuse. - **ask** will cause Caddy to make an HTTP request to the given URL with a query string of `?domain=` containing the value of the domain name. If the endpoint returns 200 OK, Caddy will be authorized to obtain a certificate for that name. - **interval** and **burst** allows `` certificate operations within `` interval. -- **local_certs** causes all certificates to be issued internally by default, rather than through a (public) ACME CA such as Let's Encrypt. This is useful in development environments. \ No newline at end of file +- **local_certs** causes all certificates to be issued internally by default, rather than through a (public) ACME CA such as Let's Encrypt. This is useful in development environments. +- **key_type** specifies the type of key to generate for TLS certificates; only change this if you have a specific need to customize it.