mirror of
https://github.com/caddyserver/website.git
synced 2025-04-25 14:36:16 -04:00
docs: Various updates for 2.3, 2.4 beta, and Go 1.16
Steps on #139 (sorry)
This commit is contained in:
parent
2e255b1ee3
commit
57b3739a21
8 changed files with 66 additions and 6 deletions
22
src/docs/markdown/caddyfile/directives/abort.md
Normal file
22
src/docs/markdown/caddyfile/directives/abort.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: abort (Caddyfile directive)
|
||||
---
|
||||
|
||||
# abort
|
||||
|
||||
Prevents any response to the client by immediately aborting the HTTP handler chain and closing the connection. Any concurrent, active HTTP streams on the same connection are interrupted.
|
||||
|
||||
|
||||
## Syntax
|
||||
|
||||
```caddy-d
|
||||
abort [<matcher>]
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
Abort all requests for paths starting with `/foo`:
|
||||
|
||||
```caddy-d
|
||||
abort /foo*
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue