mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 21:46:16 -04:00
Big Caddyfile docs update (#374)
This commit is contained in:
parent
3ec3033602
commit
22301d6a81
34 changed files with 1732 additions and 512 deletions
|
@ -23,6 +23,7 @@ error [<matcher>] <status>|<message> [<status>] {
|
|||
|
||||
To clarify, the first non-matcher argument can be either a 3-digit status code, or an error message string. If it is an error message, the next argument can be the status code.
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
Trigger an error on certain request paths, and use [`handle_errors`](handle_errors) to write a response:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue