mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 13:36:16 -04:00
Finish documenting Caddy 2.8.0 features (#419)
This commit is contained in:
parent
6ac5539ef9
commit
af347e9623
17 changed files with 481 additions and 113 deletions
|
@ -24,6 +24,8 @@ Most often, the `file_server` directive is paired with the [`root`](root) direct
|
|||
|
||||
When errors occur (e.g. file not found `404`, permission denied `403`), the error routes will be invoked. Use the [`handle_errors`](handle_errors) directive to define error routes, and display custom error pages.
|
||||
|
||||
When using `browse`, the default output is produced by the the HTML template. Clients may request the directory listing as either JSON or plaintext, by using the `Accept: application/json` or `Accept: text/plain` headers respectively. The JSON output can be useful for scripting, and the plaintext output can be useful for human terminal usage.
|
||||
|
||||
|
||||
## Syntax
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue