docs: Add Caddyfile syntax highlighting (#41)

This commit is contained in:
Francis Lavoie 2020-05-17 16:32:12 -04:00 committed by GitHub
parent 75fcfc21bb
commit e0f5ee1bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 215 additions and 179 deletions

View file

@ -10,7 +10,7 @@ The `handle` directive is kind of similar to the `location` directive from nginx
## Syntax
```
```caddy-d
handle [<matcher>] {
<directives...>
}
@ -27,7 +27,7 @@ If you prefer crafting HTTP handler logic in a more inheritence-based way like n
Handle requests in `/foo/` by the static file server, and send all other requests to the reverse proxy:
```
```caddy-d
handle /foo/* {
file_server
}