mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 14:06:17 -04:00
Big Caddyfile docs update (#374)
This commit is contained in:
parent
3ec3033602
commit
22301d6a81
34 changed files with 1732 additions and 512 deletions
|
@ -85,9 +85,11 @@ file_server /static/*
|
|||
|
||||
The `file_server` directive is usually paired with the [`root` directive](root) to set the root path from which to serve files:
|
||||
|
||||
```caddy-d
|
||||
root * /home/user/public_html
|
||||
file_server
|
||||
```caddy
|
||||
example.com {
|
||||
root * /srv
|
||||
file_server
|
||||
}
|
||||
```
|
||||
|
||||
<aside class="tip">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue