mirror of
https://github.com/caddyserver/website.git
synced 2025-05-06 19:57:13 -04:00
Update src/docs/markdown/v2-upgrade.md
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
parent
5a75e9bd3b
commit
ff033cfe47
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ You may find the new [`route`](/docs/caddyfile/directives/route) and [`handle`](
|
|||
|
||||
Because it accepts a matcher in v2, this means you can also change the site root depending on the request.
|
||||
|
||||
Please note than any implicit `file_server` directives that v1 inferred are now [required](#primary-changes).
|
||||
Remember to add a [`file_server` directive](https://caddyserver.com/docs/caddyfile/directives/file_server) if serving static files, since Caddy 2 does not assume this by default, whereas in v1 always had it enabled.
|
||||
|
||||
|
||||
### status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue