mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 14:10:32 -04:00
Apply suggestions from code review
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
0edb8ae10a
commit
11319c0f7b
4 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ Directive | Description
|
||||||
**[import](/docs/caddyfile/directives/import)** | Include snippets or files
|
**[import](/docs/caddyfile/directives/import)** | Include snippets or files
|
||||||
**[log](/docs/caddyfile/directives/log)** | Enables access/request logging
|
**[log](/docs/caddyfile/directives/log)** | Enables access/request logging
|
||||||
**[map](/docs/caddyfile/directives/map)** | Maps an input value to one or more outputs
|
**[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
|
**[metrics](/docs/caddyfile/directives/metrics)** | Configures the Prometheus metrics exposition endpoint
|
||||||
**[php_fastcgi](/docs/caddyfile/directives/php_fastcgi)** | Serve PHP sites over FastCGI
|
**[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
|
**[push](/docs/caddyfile/directives/push)** | Push content to the client using HTTP/2 server push
|
||||||
|
|
|
@ -169,7 +169,7 @@ format json
|
||||||
|
|
||||||
#### single_field
|
#### 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.
|
Writes only a single field from the structure log entry.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ title: method (Caddyfile directive)
|
||||||
|
|
||||||
# method
|
# method
|
||||||
|
|
||||||
Rewrites the request to change the HTTP method.
|
Changes the HTTP method on the request.
|
||||||
|
|
||||||
|
|
||||||
## Syntax
|
## Syntax
|
||||||
|
|
|
@ -173,7 +173,7 @@ Note that ZeroSSL is a default issuer, so configuring it explicitly is usually u
|
||||||
|
|
||||||
#### internal
|
#### internal
|
||||||
|
|
||||||
Obtains certificates from an internal certificate authority.
|
Obtains certificates from an internal certificate authority.
|
||||||
|
|
||||||
```caddy
|
```caddy
|
||||||
... internal {
|
... internal {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue