Apply suggestions from code review

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
Francis Lavoie 2022-03-09 13:17:27 -05:00
parent 0edb8ae10a
commit 11319c0f7b
No known key found for this signature in database
GPG key ID: E73DB3ECE64E7885
4 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,7 @@ Directive | Description
**[import](/docs/caddyfile/directives/import)** | Include snippets or files
**[log](/docs/caddyfile/directives/log)** | Enables access/request logging
**[map](/docs/caddyfile/directives/map)** | Maps an input value to one or more outputs
**[method](/docs/caddyfile/directives/method)** | Rewrite the HTTP method
**[method](/docs/caddyfile/directives/method)** | Change the HTTP method internally
**[metrics](/docs/caddyfile/directives/metrics)** | Configures the Prometheus metrics exposition endpoint
**[php_fastcgi](/docs/caddyfile/directives/php_fastcgi)** | Serve PHP sites over FastCGI
**[push](/docs/caddyfile/directives/push)** | Push content to the client using HTTP/2 server push

View file

@ -169,7 +169,7 @@ format json
#### single_field
<span class="warning">⚠️ This format is deprecated, and is removed in Caddy v2.5. To encode logs in common log format, please use the [`format-encoder`](https://github.com/caddyserver/format-encoder) plugin.</span>
<span class="warning">⚠️ This format was deprecated, and has been removed in Caddy v2.5. To encode logs in common log format, please use the [`format-encoder`](https://github.com/caddyserver/format-encoder) plugin.</span>
Writes only a single field from the structure log entry.

View file

@ -4,7 +4,7 @@ title: method (Caddyfile directive)
# method
Rewrites the request to change the HTTP method.
Changes the HTTP method on the request.
## Syntax