docs: Fix broken markdown link in route directive

This commit is contained in:
Francis Lavoie 2021-12-09 15:43:04 -05:00
parent ca9b5b0d46
commit d57f7319bb
No known key found for this signature in database
GPG key ID: 29B92EA7430C3C62

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 with a handle are [re-ordered]([directive order](/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 with 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.