docs: Upgrade guide: Emphasize lack of implicit file_server. (#63)

* Emphasize the lack of implicit `file_server`.

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

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
lsb 2020-07-31 15:13:47 -07:00 committed by GitHub
parent ad7e68cbe7
commit ba0cee8a47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,6 +325,8 @@ 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.
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