docs: Clarify file_server behaviour inside handle_errors (#159)

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 16:07:04 -04:00 committed by GitHub
parent 6518711538
commit 6d648596ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {