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

@ -9,7 +9,7 @@ A static file server. It works by appending the request's URI path to the [site'
## Syntax
```
```caddy-d
file_server [<matcher>] [browse] {
root <path>
hide <files...>
@ -29,18 +29,18 @@ file_server [<matcher>] [browse] {
A static file server out of the current directory:
```
```caddy-d
file_server
```
With file listings enabled:
```
```caddy-d
file_server browse
```
Only serve static files out of the `/static` folder:
```
```caddy-d
file_server /static/*
```