mirror of
https://github.com/caddyserver/website.git
synced 2025-05-06 19:57:13 -04:00
Reorder directives, add comments
This commit is contained in:
parent
5ca0cf9006
commit
6ed18d39fb
1 changed files with 8 additions and 4 deletions
|
@ -83,29 +83,33 @@ header
|
|||
request_body
|
||||
|
||||
redir
|
||||
rewrite
|
||||
|
||||
# URI manipulation
|
||||
rewrite
|
||||
uri
|
||||
try_files
|
||||
|
||||
# middleware handlers; some wrap responses
|
||||
basicauth
|
||||
request_header
|
||||
encode
|
||||
push
|
||||
templates
|
||||
|
||||
# special routing & dispatching directives
|
||||
handle
|
||||
handle_path
|
||||
route
|
||||
push
|
||||
|
||||
# handlers that typically respond to requests
|
||||
abort
|
||||
error
|
||||
respond
|
||||
metrics
|
||||
reverse_proxy
|
||||
php_fastcgi
|
||||
file_server
|
||||
acme_server
|
||||
abort
|
||||
error
|
||||
```
|
||||
|
||||
You can override/customize this ordering by using the [`order` global option](/docs/caddyfile/options) or the [`route` directive](/docs/caddyfile/directives/route).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue