docs: Clarify file_server behaviour inside handle_errors

This was part of https://github.com/caddyserver/website/pull/154 which was incorrect, but I realized I had this part in it which is still relevant to keep.
This commit is contained in:
Francis Lavoie 2021-04-26 01:25:46 -04:00
parent 6518711538
commit 01ddd4f0e3
No known key found for this signature in database
GPG key ID: 7D1A27F0725BE5D8

View file

@ -29,7 +29,7 @@ handle_errors {
## Examples
Custom error pages based on the status code (i.e. a page called `404.html` for 404 errors):
Custom error pages based on the status code (i.e. a page called `404.html` for 404 errors). Note that [`file_server`](file_server) preserves the error's HTTP status code when run in `handle_errors`:
```caddy-d
handle_errors {