mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 14:10:32 -04:00
Update route.md: fix link
This commit is contained in:
parent
b01f645d7d
commit
62679b368a
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ And now `file_server` will be chained in before `redir` because the order is tak
|
||||||
|
|
||||||
There are other directives that can wrap HTTP handler directives, but each has its use depending on the behavior you want to convey:
|
There are other directives that can wrap HTTP handler directives, but each has its use depending on the behavior you want to convey:
|
||||||
|
|
||||||
- [`handle`](handle) wraps other directives like `route` does, but with two distinctions: 1) handle blocks are mutually exclusive to each other, and 2) directives within a handle are [re-ordered](/docs/caddyfile/directives#directive-order) normally.
|
- [`handle`](handle) wraps other directives like `route` does, but with two distinctions: 1) handle blocks are mutually exclusive to each other, and 2) directives within a handle are [`re-ordered`](/docs/caddyfile/directives#directive-order) normally.
|
||||||
- [`handle_path`](handle_path) does the same as `handle`, but it strips a prefix from the request before running its handlers.
|
- [`handle_path`](handle_path) does the same as `handle`, but it strips a prefix from the request before running its handlers.
|
||||||
- [`handle_errors`](handle_errors) is like `handle`, but is only invoked when Caddy encounters an error during request handling.
|
- [`handle_errors`](handle_errors) is like `handle`, but is only invoked when Caddy encounters an error during request handling.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue