Update route.md: fix link

This commit is contained in:
axel simon 2022-02-01 21:45:44 +00:00 committed by GitHub
parent b01f645d7d
commit 62679b368a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.