mirror of
https://github.com/caddyserver/website.git
synced 2025-05-07 12:17:15 -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
|
request_body
|
||||||
|
|
||||||
redir
|
redir
|
||||||
rewrite
|
|
||||||
|
|
||||||
|
# URI manipulation
|
||||||
|
rewrite
|
||||||
uri
|
uri
|
||||||
try_files
|
try_files
|
||||||
|
|
||||||
|
# middleware handlers; some wrap responses
|
||||||
basicauth
|
basicauth
|
||||||
request_header
|
request_header
|
||||||
encode
|
encode
|
||||||
|
push
|
||||||
templates
|
templates
|
||||||
|
|
||||||
|
# special routing & dispatching directives
|
||||||
handle
|
handle
|
||||||
handle_path
|
handle_path
|
||||||
route
|
route
|
||||||
push
|
|
||||||
|
|
||||||
|
# handlers that typically respond to requests
|
||||||
|
abort
|
||||||
|
error
|
||||||
respond
|
respond
|
||||||
metrics
|
metrics
|
||||||
reverse_proxy
|
reverse_proxy
|
||||||
php_fastcgi
|
php_fastcgi
|
||||||
file_server
|
file_server
|
||||||
acme_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).
|
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