Update src/docs/markdown/v2-upgrade.md

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
lsb 2020-07-21 20:23:09 -07:00 committed by GitHub
parent 5a75e9bd3b
commit ff033cfe47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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